pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/perl58 Ensure _STRIPFLAG_INSTALL is defined befor...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d714b7d86cd2
branches:  trunk
changeset: 472133:d714b7d86cd2
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Mon Apr 05 10:43:47 2004 +0000

description:
Ensure _STRIPFLAG_INSTALL is defined before checking if it's empty.
Fixes a malformed conditional shown by bootstrap's bmake.

diffstat:

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

diffs (18 lines):

diff -r bda406daf127 -r d714b7d86cd2 lang/perl58/Makefile
--- a/lang/perl58/Makefile      Mon Apr 05 10:30:12 2004 +0000
+++ b/lang/perl58/Makefile      Mon Apr 05 10:43:47 2004 +0000
@@ -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 @@
        ${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



Home | Main Index | Thread Index | Old Index