summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-04-05 10:43:47 +0000
committerjmmv <jmmv@pkgsrc.org>2004-04-05 10:43:47 +0000
commitfd852f361a7f64363e7f9f15d78f3c633807e72a (patch)
treeeb5d9965988864fa4b81a9d48e944587e298f249 /lang
parent0636c8b430462d002f0893b600d175d1e68c2aab (diff)
downloadpkgsrc-fd852f361a7f64363e7f9f15d78f3c633807e72a.tar.gz
Ensure _STRIPFLAG_INSTALL is defined before checking if it's empty.
Fixes a malformed conditional shown by bootstrap's bmake.
Diffstat (limited to 'lang')
-rw-r--r--lang/perl58/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/perl58/Makefile b/lang/perl58/Makefile
index 9e9a4f8fe9d..d18d8052770 100644
--- a/lang/perl58/Makefile
+++ b/lang/perl58/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2004/03/07 01:02:59 danw Exp $
+# $NetBSD: Makefile,v 1.39 2004/04/05 10:43:47 jmmv Exp $
# The following two variables should have empty values unless we're
# building a perl snapshot or release candidate.
@@ -266,7 +266,7 @@ post-install:
${INSTALL_PROGRAM_DIR} ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC_PERL5} ${PREFIX}/bin/perl${PERL5_VERS}
${LN} -f ${PREFIX}/bin/perl${PERL5_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