summaryrefslogtreecommitdiff
path: root/lang/perl5
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2018-07-04 13:40:07 +0000
committerjperkin <jperkin@pkgsrc.org>2018-07-04 13:40:07 +0000
commit3cc59ce5299d6358f3c1487cc9da3d48ef0a0647 (patch)
tree4b7c9cc25a344fafc9d2f536ba6e474a9bb281e6 /lang/perl5
parent063580a062ba10ffba035c8d96b541b5ce7a426d (diff)
downloadpkgsrc-3cc59ce5299d6358f3c1487cc9da3d48ef0a0647.tar.gz
*: Move SUBST_STAGE from post-patch to pre-configure
Performing substitutions during post-patch breaks tools such as mkpatches, making it very difficult to regenerate correct patches after making changes, and often leading to substituted string replacements being committed.
Diffstat (limited to 'lang/perl5')
-rw-r--r--lang/perl5/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile
index 1bb975024ca..c43281e9c74 100644
--- a/lang/perl5/Makefile
+++ b/lang/perl5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.245 2018/04/27 09:44:27 adam Exp $
+# $NetBSD: Makefile,v 1.246 2018/07/04 13:40:22 jperkin Exp $
.include "license.mk"
.include "Makefile.common"
@@ -278,7 +278,7 @@ SUBST_SED.cpprun= -e "s/cpprun=''/cpprun='cc -E'/"
# let's substitute what pkgsrc says instead.
#
SUBST_CLASSES+= dirmode
-SUBST_STAGE.dirmode= post-patch
+SUBST_STAGE.dirmode= pre-configure
SUBST_FILES.dirmode= installhtml install_lib.pl
SUBST_SED.dirmode= -e "s/755/${PKGDIRMODE}/g;/umask(/d"