summaryrefslogtreecommitdiff
path: root/math/pari
diff options
context:
space:
mode:
authorjperkin <jperkin>2014-09-23 09:08:21 +0000
committerjperkin <jperkin>2014-09-23 09:08:21 +0000
commitbd9c3224e0e3587c7a7890a1bc445f1149ff84a6 (patch)
tree915409af8f535e5e56c9c89543f23baccef760f0 /math/pari
parenta37fd7141cdba83e465fd80e30d55f04d8dfc800 (diff)
downloadpkgsrc-bd9c3224e0e3587c7a7890a1bc445f1149ff84a6.tar.gz
Remove TOOLS_DIR references from the generated pari.cfg.
Diffstat (limited to 'math/pari')
-rw-r--r--math/pari/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/math/pari/Makefile b/math/pari/Makefile
index 893455a67c9..2595ca1c937 100644
--- a/math/pari/Makefile
+++ b/math/pari/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2014/05/29 23:36:56 wiz Exp $
+# $NetBSD: Makefile,v 1.61 2014/09/23 09:08:21 jperkin Exp $
DISTNAME= pari-2.3.5
PKGREVISION= 14
@@ -36,6 +36,12 @@ SUBST_MESSAGE.fix-cfg= Adding CFLAGS to Configure scripts.
SUBST_FILES.fix-cfg= config/get_*
SUBST_SED.fix-cfg= -e 's,$$CC $$extraflag,$$CC $$CFLAGS $$extraflag,g'
+SUBST_CLASSES+= fix-wrap
+SUBST_STAGE.fix-wrap= post-build
+SUBST_MESSAGE.fix-wrap= Removing TOOLS_DIR references
+SUBST_FILES.fix-wrap= */pari.cfg
+SUBST_SED.fix-wrap= -e "s,${TOOLS_DIR}/bin/,,g"
+
.include "options.mk"
.include "../../devel/ncurses/buildlink3.mk"