summaryrefslogtreecommitdiff
path: root/devel/gps
diff options
context:
space:
mode:
authormarino <marino>2011-12-03 22:07:30 +0000
committermarino <marino>2011-12-03 22:07:30 +0000
commit91d1b1d6b27dcfb3684dad654f6c2983aca2366b (patch)
tree0c4028a9f0d19d51db17a1fb428f59219a59a3d1 /devel/gps
parent3ee82f4e46c9656ca18be90d82ac90e2f21fcd58 (diff)
downloadpkgsrc-91d1b1d6b27dcfb3684dad654f6c2983aca2366b.tar.gz
devel/gps: Fix for bulk builds
This package would build outside a bulk build, but a few flaws in the makefile prevented it from building in all cases, bulk builds being one such exception. It should build ok now.
Diffstat (limited to 'devel/gps')
-rw-r--r--devel/gps/Makefile18
1 files changed, 6 insertions, 12 deletions
diff --git a/devel/gps/Makefile b/devel/gps/Makefile
index 116d7d58e0d..9760d8cc390 100644
--- a/devel/gps/Makefile
+++ b/devel/gps/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2011/11/01 06:00:56 sbd Exp $
+# $NetBSD: Makefile,v 1.7 2011/12/03 22:07:30 marino Exp $
#
DISTNAME= gps-${GPS_VERSION}
@@ -16,26 +16,20 @@ LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
-USE_TOOLS+= gmake sed perl awk
+USE_TOOLS+= gmake sed perl awk pkg-config
GPS_VERSION= 5.0.1
-FULL_PATH= /sbin:/bin:/usr/sbin:/usr/bin:${PREFIX}/sbin:${PREFIX}/bin:${PREFIX}/lib/pkgconfig
-MY_CONFIGURE_ENV= PATH=${FULL_PATH}
MY_CONFIGURE_ENV+= CC=gnatgcc
+MY_CONFIGURE_ENV+= PYTHON=${PREFIX}/bin/python${PYVERSSUFFIX}
APP= ${PREFIX}/lib/gnat
-TPLS= ${PREFIX}/share/gps/templates
.include "options.mk"
CONFIGURE_ARGS+= --with-gmp=${PREFIX}
-do-wrapper:
- # Disable problematic wrappers
- @${ECHO} "### Pkgsrc wrappers disabled ###"
-
-post-patch:
- perl -i -pe "s/set dummy python;/set dummy python${PYVERSSUFFIX};/" \
- ${WRKSRC}/gnatlib/configure
+post-wrapper:
+ ${RM} -rf ${WRKDIR}/.wrapper/bin
+ ${RM} -rf ${WRKDIR}/.gcc/bin
do-configure:
cd ${WRKSRC} && ${SETENV} ${MY_CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS}