pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/pari Remove TOOLS_DIR references from the generat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/edff1c4cc023
branches:  trunk
changeset: 639684:edff1c4cc023
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Sep 23 09:08:21 2014 +0000

description:
Remove TOOLS_DIR references from the generated pari.cfg.

diffstat:

 math/pari/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r e90a360dde60 -r edff1c4cc023 math/pari/Makefile
--- a/math/pari/Makefile        Tue Sep 23 08:51:00 2014 +0000
+++ b/math/pari/Makefile        Tue Sep 23 09:08:21 2014 +0000
@@ -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_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"



Home | Main Index | Thread Index | Old Index