pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/tools Generalize the condition for defining PERL5, ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a6107cdb69c1
branches:  trunk
changeset: 535475:a6107cdb69c1
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Mon Nov 19 04:08:58 2007 +0000

description:
Generalize the condition for defining PERL5, so that PERL5 is never
overridden if it is defined by individual packages.

diffstat:

 mk/tools/perl.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 3f28c137daef -r a6107cdb69c1 mk/tools/perl.mk
--- a/mk/tools/perl.mk  Mon Nov 19 03:53:10 2007 +0000
+++ b/mk/tools/perl.mk  Mon Nov 19 04:08:58 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: perl.mk,v 1.22 2007/11/19 00:40:14 minskim Exp $
+# $NetBSD: perl.mk,v 1.23 2007/11/19 04:08:58 minskim Exp $
 #
 # Copyright (c) 2005 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -65,7 +65,7 @@
 .  else
 TOOLS_${_TOOLS_VARNAME.perl}?= ${LOCALBASE}/bin/perl
 .  endif
-.  if empty(PKGNAME:Mperl-[0-9]*)
+.  if !defined(${_TOOLS_VARNAME.perl})
 ${_TOOLS_VARNAME.perl}?=       ${TOOLS_${_TOOLS_VARNAME.perl}}
 .  endif
 .endif



Home | Main Index | Thread Index | Old Index