summaryrefslogtreecommitdiff
path: root/lang/perl58/Makefile
diff options
context:
space:
mode:
authortv <tv>2004-04-25 22:42:51 +0000
committertv <tv>2004-04-25 22:42:51 +0000
commit756ad7859dbaf9c8321cfa6fee02bcf129f81f32 (patch)
tree758d883c4350596e0417e374e953b188781f8515 /lang/perl58/Makefile
parentf00c1f91ff5c32045beebea4c0eb50e70720c69d (diff)
downloadpkgsrc-756ad7859dbaf9c8321cfa6fee02bcf129f81f32.tar.gz
Make sure PKGDIRMODE is always set in bsd.prefs.mk so it can be checked
in lang/perl58/Makefile. (It had been set previously only in bsd.pkg.mk.)
Diffstat (limited to 'lang/perl58/Makefile')
-rw-r--r--lang/perl58/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/lang/perl58/Makefile b/lang/perl58/Makefile
index 8993ad85422..303ccde57e6 100644
--- a/lang/perl58/Makefile
+++ b/lang/perl58/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2004/04/24 22:54:45 xtraeme Exp $
+# $NetBSD: Makefile,v 1.43 2004/04/25 22:42:51 tv Exp $
# The following two variables should have empty values unless we're
# building a perl snapshot or release candidate.
@@ -216,13 +216,13 @@ MESSAGE_SUBST+= PERL5_SITELIB=${PERL5_SITELIB}
# unfortunately, hardcoded in quite a few places in Perl. So let's substitute
# what pkgsrc said instead.
post-patch:
-.if defined(PKGDIRMODE) && empty(PKGDIRMODE:M755)
-. for f in installhtml installman installperl lib/ExtUtils/Install.pm
+.if ${PKGDIRMODE} != "755"
+.for f in installhtml installman installperl lib/ExtUtils/Install.pm
cd ${WRKSRC} && \
${MV} -f $f $f.dirmode && \
${SED} -e 's/755/${PKGDIRMODE}/g;/umask(/d' \
$f.dirmode >$f
-. endfor
+.endfor
.endif
# It's tough to guess which hints file will be used, so add our modifications