diff options
author | uebayasi <uebayasi@pkgsrc.org> | 2004-03-02 06:13:28 +0000 |
---|---|---|
committer | uebayasi <uebayasi@pkgsrc.org> | 2004-03-02 06:13:28 +0000 |
commit | fa9d5048ece9469bae74b77a4b189350f0039bb5 (patch) | |
tree | cfa27507211638f3010cb3a20b38c91c7c25c37d /lang/perl5 | |
parent | 74a9a1b7df880a33f0717b1ea5b187daa6c05c6b (diff) | |
download | pkgsrc-fa9d5048ece9469bae74b77a4b189350f0039bb5.tar.gz |
Test if a conditional variable is defined before expanding it. From
Ralf-P. Weinmann on tech-pkg@.
Diffstat (limited to 'lang/perl5')
-rw-r--r-- | lang/perl5/Makefile | 4 |
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 |