diff options
author | minskim <minskim> | 2007-11-19 04:08:58 +0000 |
---|---|---|
committer | minskim <minskim> | 2007-11-19 04:08:58 +0000 |
commit | 147839c398ba472e3884f7005fd1916b30f28268 (patch) | |
tree | 4e7b1327a6a2b1ff0d513ba0e6badd1b72146291 /mk | |
parent | d928b0f8eaaad71e6657f24bd36291a7e4c4fd9e (diff) | |
download | pkgsrc-147839c398ba472e3884f7005fd1916b30f28268.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')
-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 |