summaryrefslogtreecommitdiff
path: root/lang/perl58
diff options
context:
space:
mode:
authortv <tv>2004-04-25 22:42:51 +0000
committertv <tv>2004-04-25 22:42:51 +0000
commit326c3cf23bc51856e3db87620f91ce63613f4ba1 (patch)
tree758d883c4350596e0417e374e953b188781f8515 /lang/perl58
parent73baf6b0fce33c84ac46ef39fbf5b9bc23461d0e (diff)
downloadpkgsrc-326c3cf23bc51856e3db87620f91ce63613f4ba1.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')
-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