Sat May 2 13:37:08 2020 UTC ()
math/pari: remove no-op SUBST block

When building on NetBSD-8.0-x86_64, the file pari.cfg does not contain
any references to TOOLS_DIR.


(rillig)
diff -r1.77 -r1.78 pkgsrc/math/pari/Makefile

cvs diff -r1.77 -r1.78 pkgsrc/math/pari/Makefile (expand / switch to unified diff)

--- pkgsrc/math/pari/Makefile 2020/01/26 17:31:39 1.77
+++ pkgsrc/math/pari/Makefile 2020/05/02 13:37:08 1.78
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.77 2020/01/26 17:31:39 rillig Exp $ 1# $NetBSD: Makefile,v 1.78 2020/05/02 13:37:08 rillig Exp $
2 2
3DISTNAME= pari-2.7.6 3DISTNAME= pari-2.7.6
4PKGREVISION= 5 4PKGREVISION= 5
5CATEGORIES= math 5CATEGORIES= math
6MASTER_SITES= http://pari.math.u-bordeaux.fr/pub/pari/unix/ 6MASTER_SITES= http://pari.math.u-bordeaux.fr/pub/pari/unix/
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://pari.math.u-bordeaux.fr/ 9HOMEPAGE= https://pari.math.u-bordeaux.fr/
10COMMENT= Software package for computer-aided number theory 10COMMENT= Software package for computer-aided number theory
11LICENSE= gnu-gpl-v2 11LICENSE= gnu-gpl-v2
12 12
13MAKE_JOBS_SAFE= no 13MAKE_JOBS_SAFE= no
14 14
@@ -29,26 +29,20 @@ REPLACE_PERL+= src/desc/PARI/822.pm @@ -29,26 +29,20 @@ REPLACE_PERL+= src/desc/PARI/822.pm
29REPLACE_PERL+= doc/gphelp 29REPLACE_PERL+= doc/gphelp
30REPLACE_PERL+= misc/tex2mail 30REPLACE_PERL+= misc/tex2mail
31 31
32BUILD_TARGET= all 32BUILD_TARGET= all
33TEST_TARGET= test-compat bench 33TEST_TARGET= test-compat bench
34INSTALL_TARGET= install 34INSTALL_TARGET= install
35 35
36SUBST_CLASSES+= fix-cfg 36SUBST_CLASSES+= fix-cfg
37SUBST_STAGE.fix-cfg= pre-configure 37SUBST_STAGE.fix-cfg= pre-configure
38SUBST_MESSAGE.fix-cfg= Adding CFLAGS to Configure scripts. 38SUBST_MESSAGE.fix-cfg= Adding CFLAGS to Configure scripts.
39SUBST_FILES.fix-cfg= config/get_* 39SUBST_FILES.fix-cfg= config/get_*
40SUBST_SED.fix-cfg= -e 's,$$CC $$extraflag,$$CC $$CFLAGS $$extraflag,g' 40SUBST_SED.fix-cfg= -e 's,$$CC $$extraflag,$$CC $$CFLAGS $$extraflag,g'
41 41
42SUBST_CLASSES+= fix-wrap 
43SUBST_STAGE.fix-wrap= post-build 
44SUBST_MESSAGE.fix-wrap= Removing TOOLS_DIR references 
45SUBST_FILES.fix-wrap= */pari.cfg 
46SUBST_SED.fix-wrap= -e "s,${TOOLS_DIR}/bin/,,g" 
47 
48pre-install: replace-interpreter 42pre-install: replace-interpreter
49 43
50.include "options.mk" 44.include "options.mk"
51 45
52# rl_save_prompt() 46# rl_save_prompt()
53.include "../../devel/readline/buildlink3.mk" 47.include "../../devel/readline/buildlink3.mk"
54.include "../../mk/bsd.pkg.mk" 48.include "../../mk/bsd.pkg.mk"