pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/perl5



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Apr 25 16:56:44 UTC 2021

Modified Files:
        pkgsrc/lang/perl5: Makefile

Log Message:
perl5: avoid hardcoding path to pwd


To generate a diff of this commit:
cvs rdiff -u -r1.268 -r1.269 pkgsrc/lang/perl5/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/perl5/Makefile
diff -u pkgsrc/lang/perl5/Makefile:1.268 pkgsrc/lang/perl5/Makefile:1.269
--- pkgsrc/lang/perl5/Makefile:1.268    Mon Jan 25 09:33:19 2021
+++ pkgsrc/lang/perl5/Makefile  Sun Apr 25 16:56:44 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.268 2021/01/25 09:33:19 wiz Exp $
+# $NetBSD: Makefile,v 1.269 2021/04/25 16:56:44 nia Exp $
 
 .include "license.mk"
 .include "Makefile.common"
@@ -90,6 +90,11 @@ SUBST_STAGE.toolsbin=        pre-configure
 SUBST_FILES.toolsbin=  Configure
 SUBST_VARS.toolsbin=   TOOLS_RM
 
+SUBST_CLASSES+=                pwd
+SUBST_STAGE.pwd=       pre-configure
+SUBST_FILES.pwd=       dist/PathTools/Cwd.pm
+SUBST_SED.pwd+=                -e "s,/bin/pwd,${TOOLS_PLATFORM.pwd},g"
+
 .if ${OPSYS} == "Darwin" || ${OPSYS} == "Cygwin"
 #
 # The Perl build attempts to work around case-insensitivity problems on



Home | Main Index | Thread Index | Old Index