pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/parrot (lang/parrot) Add SUBST To avoid work/.too...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/07b4d2423582
branches:  trunk
changeset: 438997:07b4d2423582
user:      mef <mef%pkgsrc.org@localhost>
date:      Sun Sep 13 12:59:25 2020 +0000

description:
(lang/parrot) Add SUBST To avoid work/.tools/bin/perl recorded in installation

diffstat:

 lang/parrot/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 11ff404cde70 -r 07b4d2423582 lang/parrot/Makefile
--- a/lang/parrot/Makefile      Sun Sep 13 11:12:57 2020 +0000
+++ b/lang/parrot/Makefile      Sun Sep 13 12:59:25 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.100 2020/08/31 18:09:52 wiz Exp $
+# $NetBSD: Makefile,v 1.101 2020/09/13 12:59:25 mef Exp $
 #
 
 DISTNAME=              parrot-${PARROT_VERSION}
@@ -52,6 +52,12 @@
 PLIST_SRC+=            PLIST.shared
 .endif
 
+SUBST_CLASSES+=                path
+SUBST_STAGE.path=      pre-patch
+SUBST_MESSAGE.path=    To avoid work/.tools/bin/perl recorded in installation
+SUBST_FILES.path=      config/gen/config_pm/myconfig.in
+SUBST_SED.path=                -e 's,@perl@,${PREFIX}/bin/perl,'
+
 REPLACE_PERL+=         tools/build/ops2c.pl
 REPLACE_PERL+=         tools/build/pmc2c.pl
 REPLACE_PERL+=         tools/dev/create_language.pl



Home | Main Index | Thread Index | Old Index