diff options
author | minskim <minskim@pkgsrc.org> | 2007-11-19 04:08:58 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2007-11-19 04:08:58 +0000 |
commit | 3a7155e12ad91c52a54b9a1015cb6b2316588cb7 (patch) | |
tree | 4e7b1327a6a2b1ff0d513ba0e6badd1b72146291 /mk/tools | |
parent | 24ad30c540e324f387ace67e1fc5e7e0ba277255 (diff) | |
download | pkgsrc-3a7155e12ad91c52a54b9a1015cb6b2316588cb7.tar.gz |
Generalize the condition for defining PERL5, so that PERL5 is never
overridden if it is defined by individual packages.
Diffstat (limited to 'mk/tools')
-rw-r--r-- | mk/tools/perl.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/tools/perl.mk b/mk/tools/perl.mk index 0973cb2f139..56c473000c3 100644 --- a/mk/tools/perl.mk +++ b/mk/tools/perl.mk @@ -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 @@ TOOLS_${_TOOLS_VARNAME.perl}?= ${TOOLS_PLATFORM.perl} . 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 |