Allow non-Darwin platforms to build perl58. We're in pkgsrc lockdown down

just prior to branching for 1.6, so this should be okay now.  I also want
to see this built in the bulk-builds for testing purposes.
This commit is contained in:
jlam 2002-08-08 06:10:03 +00:00
parent 1e99daa357
commit c8a6f4234b
2 changed files with 3 additions and 8 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1.1.1 2002/07/22 21:50:37 jlam Exp $
# $NetBSD: Makefile,v 1.2 2002/08/08 06:10:05 jlam Exp $
.include "Makefile.common"
@ -28,10 +28,6 @@ CONFIGURE_ARGS+= -Uinstallusrbinperl
.include "../../mk/bsd.prefs.mk"
.if !(defined(_USE_PERL58) && (${_USE_PERL58} == "YES"))
ONLY_FOR_PLATFORM= Darwin-*-*
.endif
MKPIC?= yes
.if ${OPSYS} == "Darwin"

View file

@ -1,4 +1,4 @@
# $NetBSD: bsd.pkg.mk,v 1.1028 2002/08/07 15:12:45 agc Exp $
# $NetBSD: bsd.pkg.mk,v 1.1029 2002/08/08 06:10:03 jlam Exp $
#
# This file is in the public domain.
#
@ -227,8 +227,7 @@ _PERL58_PATTERNS= 5.8.* 5.9* 5.[1-9][0-9]*
# value of PERL5_REQD (possible user-supplied) so that it is always at least
# 5.8.0.
#
.if (${OPSYS} == "Darwin") || \
(defined(_USE_PERL58) && (${_USE_PERL58} == "YES"))
.if ${OPSYS} == "Darwin"
_PERL58_REQD?= 5.8.0
. for _pattern_ in ${_PERL58_PATTERNS}
. if !empty(PERL5_REQD:M${_pattern_})