summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authoruebayasi <uebayasi>2004-03-02 06:13:28 +0000
committeruebayasi <uebayasi>2004-03-02 06:13:28 +0000
commitd99bcca56df598325903a00258781f5269b66c80 (patch)
treecfa27507211638f3010cb3a20b38c91c7c25c37d /lang
parentd5253216f57010be29c934fa34f176120990f018 (diff)
downloadpkgsrc-d99bcca56df598325903a00258781f5269b66c80.tar.gz
Test if a conditional variable is defined before expanding it. From
Ralf-P. Weinmann on tech-pkg@.
Diffstat (limited to 'lang')
-rw-r--r--lang/perl5/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile
index 06314ed6a17..4809dcff363 100644
--- a/lang/perl5/Makefile
+++ b/lang/perl5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.79 2004/01/13 01:08:57 jlam Exp $
+# $NetBSD: Makefile,v 1.80 2004/03/02 06:13:28 uebayasi Exp $
.include "../../lang/perl5/Makefile.common"
@@ -192,7 +192,7 @@ post-install:
${RM} -f ${PREFIX}/bin/perl ${PREFIX}/bin/perl${PERL5_DIST_VERS}
${INSTALL_PROGRAM} ${WRKSRC_PERL5} ${PREFIX}/bin/perl${PERL5_DIST_VERS}
${LN} -f ${PREFIX}/bin/perl${PERL5_DIST_VERS} ${PREFIX}/bin/perl
-.if !empty(_STRIPFLAG_INSTALL)
+.if defined(_STRIPFLAG_INSTALL) && !empty(_STRIPFLAG_INSTALL)
if [ -x ${PREFIX}/bin/a2p ]; then \
strip ${PREFIX}/bin/a2p; \
fi