pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/perl5 Test if a conditional variable is defined b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c9d731f453a7
branches:  trunk
changeset: 469880:c9d731f453a7
user:      uebayasi <uebayasi%pkgsrc.org@localhost>
date:      Tue Mar 02 06:13:28 2004 +0000

description:
Test if a conditional variable is defined before expanding it.  From
Ralf-P. Weinmann on tech-pkg@.

diffstat:

 lang/perl5/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 596abc68829e -r c9d731f453a7 lang/perl5/Makefile
--- a/lang/perl5/Makefile       Tue Mar 02 05:03:47 2004 +0000
+++ b/lang/perl5/Makefile       Tue Mar 02 06:13:28 2004 +0000
@@ -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 @@
        ${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



Home | Main Index | Thread Index | Old Index