Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/pari math/pari: clean up REPLACE_PERL



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f329f95709c5
branches:  trunk
changeset: 432475:f329f95709c5
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri May 22 17:45:24 2020 +0000

description:
math/pari: clean up REPLACE_PERL

Two of the files now use autoconf to insert the correct Perl interpreter.

The dependency "pre-install: replace-interpreter" was useless since then
replace-interpreter would be run once in a direct "bmake update" or
"bmake install", and twice in bulk builds since they first run "bmake
build" and then "bmake install".  And even in the latter case, replacing
the interpreter twice had no effect since it was already replaced in the
configure phase.

diffstat:

 math/pari/Makefile |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (27 lines):

diff -r fb3f60e17a27 -r f329f95709c5 math/pari/Makefile
--- a/math/pari/Makefile        Fri May 22 17:44:56 2020 +0000
+++ b/math/pari/Makefile        Fri May 22 17:45:24 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.78 2020/05/02 13:37:08 rillig Exp $
+# $NetBSD: Makefile,v 1.79 2020/05/22 17:45:24 rillig Exp $
 
 DISTNAME=      pari-2.7.6
 PKGREVISION=   5
@@ -26,8 +26,6 @@
 CONFIGURE_ARGS+=       --share-prefix=${PREFIX}/share
 
 REPLACE_PERL+=         src/desc/PARI/822.pm
-REPLACE_PERL+=         doc/gphelp
-REPLACE_PERL+=         misc/tex2mail
 
 BUILD_TARGET=          all
 TEST_TARGET=           test-compat bench
@@ -39,8 +37,6 @@
 SUBST_FILES.fix-cfg=   config/get_*
 SUBST_SED.fix-cfg=     -e 's,$$CC $$extraflag,$$CC $$CFLAGS $$extraflag,g'
 
-pre-install: replace-interpreter
-
 .include "options.mk"
 
 # rl_save_prompt()



Home | Main Index | Thread Index | Old Index