summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authoruebayasi <uebayasi@pkgsrc.org>2004-03-02 06:13:28 +0000
committeruebayasi <uebayasi@pkgsrc.org>2004-03-02 06:13:28 +0000
commit8e043c60380d6cbb998c8a2e627112de839cef52 (patch)
treecfa27507211638f3010cb3a20b38c91c7c25c37d /lang
parent5598787c3be19000e8ea2fbe3cfc672771cdf432 (diff)
downloadpkgsrc-8e043c60380d6cbb998c8a2e627112de839cef52.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