summaryrefslogtreecommitdiff
path: root/package/gpsd/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-02-17 20:10:15 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-02-17 20:10:15 +0100
commitf9011c1275b13f39e4ab4552173bfb91b2ffae56 (patch)
tree6a6cc8e0762a2da326e1657bda7308d6ffd3dc42 /package/gpsd/Makefile
parentdc06fc81176cf7bd6024e6bfc0666abdd0207fbf (diff)
fix build on OpenBSD host
- add a wrapper script for autoconf and autoreconf to avoid ifdef gluecode for every OS/autoconf combination - need to add more autoconf version for NetBSD/MirBSD
Diffstat (limited to 'package/gpsd/Makefile')
-rw-r--r--package/gpsd/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/gpsd/Makefile b/package/gpsd/Makefile
index 8b88305da..c1b7dd382 100644
--- a/package/gpsd/Makefile
+++ b/package/gpsd/Makefile
@@ -21,6 +21,8 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,GPSD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,GPSD_CLIENTS,gpsd-clients,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_1},${PKG_SECTION}))
+AUTOTOOL_STYLE:= autoconf
+
CONFIGURE_ENV+= EGREP="grep -E" \
CPP="$(TARGET_CC) -E" \
ac_cv_func_strlcpy=no \
@@ -39,7 +41,7 @@ TLDFLAGS+= -shared
endif
post-extract:
- @find ${WRKBUILD} -name *.rej -delete
+ @find ${WRKBUILD} -name *.rej -exec rm {} \;
ifeq (${ADK_COMPILE_GPSD_WITH_UCLIBCXX},y)
# add workaround because libtool tries to link libstdc++