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
commitc9045a440c6625c03458c8b3cad79a2434fbc45c (patch)
treecfa27507211638f3010cb3a20b38c91c7c25c37d /lang
parentbf3b48b37000922c7e8378ac7f54bd672cb939e5 (diff)
downloadpkgsrc-c9045a440c6625c03458c8b3cad79a2434fbc45c.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