pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Make lang/perl58 the default perl package installed...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4ce43cd8411c
branches:  trunk
changeset: 471568:4ce43cd8411c
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Mon Mar 29 06:52:23 2004 +0000

description:
Make lang/perl58 the default perl package installed when a package needs
Perl as a dependency.

diffstat:

 mk/bsd.pkg.mk |  18 ++----------------
 1 files changed, 2 insertions(+), 16 deletions(-)

diffs (39 lines):

diff -r 489750cc47e2 -r 4ce43cd8411c mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Mon Mar 29 06:49:12 2004 +0000
+++ b/mk/bsd.pkg.mk     Mon Mar 29 06:52:23 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1428 2004/03/29 06:49:04 jlam Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1429 2004/03/29 06:52:23 jlam Exp $
 #
 # This file is in the public domain.
 #
@@ -279,21 +279,6 @@
 .endfor
 _PERL5_REQD=   ${_PERL5_STRICTEST_REQD}
 
-# _PERL58_PATTERNS contains perl versions >=5.8.0 but before 6.0.
-_PERL58_PATTERNS=      5.8* 5.9* 5.[1-9][0-9]*
-
-_NEED_PERL58?= no
-.for _pattern_ in ${_PERL58_PATTERNS}
-.  if !empty(_PERL5_REQD:M${_pattern_})
-_NEED_PERL58=  yes
-.  endif
-.endfor
-.if !empty(_NEED_PERL58:M[yY][eE][sS])
-PERL5_PKGSRCDIR?=      ../../lang/perl58
-.else
-PERL5_PKGSRCDIR?=      ../../lang/perl5
-.endif
-
 # Convert USE_PERL5 to be two-valued: either "build" or "run" to denote
 # whether we want a build-time or run-time dependency on perl.
 #
@@ -305,6 +290,7 @@
 _PERL5_DEPMETHOD=      DEPENDS
 .  endif
 _PERL5_DEPENDS=                perl>=${_PERL5_REQD}
+PERL5_PKGSRCDIR?=      ../../lang/perl58
 .  if !defined(BUILDLINK_DEPENDS.perl)
 ${_PERL5_DEPMETHOD}+=  ${_PERL5_DEPENDS}:${PERL5_PKGSRCDIR}
 .  endif



Home | Main Index | Thread Index | Old Index