mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
(1) Change PERL_VERSION to 5.6.0 for newer 5-current.
Submitted by: markm (and many others) (2) Move one PLIST_SUB line from the pre.mk section to post.mk section so it won't cause unwanted side effects. Spotted by: sobomax
This commit is contained in:
parent
c0b163e792
commit
5260fdf083
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=30170
@ -612,8 +612,6 @@ PREFIX?= ${X11BASE}
|
||||
PREFIX?= ${LOCALBASE}
|
||||
.endif
|
||||
|
||||
PLIST_SUB+= PREFIX=%D LOCALBASE=${LOCALBASE} X11BASE=${X11BASE}
|
||||
|
||||
.if defined(USE_OPENSSL)
|
||||
.if ${OSVERSION} >= 400014
|
||||
.if !exists(/usr/lib/libcrypto.so)
|
||||
@ -683,7 +681,7 @@ WRKSRC?= ${WRKDIR}
|
||||
WRKSRC?= ${WRKDIR}/${DISTNAME}
|
||||
.endif
|
||||
|
||||
PLIST_SUB+= OSREL=${OSREL}
|
||||
PLIST_SUB+= OSREL=${OSREL} PREFIX=%D LOCALBASE=${LOCALBASE} X11BASE=${X11BASE}
|
||||
|
||||
CONFIGURE_ENV+= PORTOBJFORMAT=${PORTOBJFORMAT}
|
||||
SCRIPTS_ENV+= PORTOBJFORMAT=${PORTOBJFORMAT}
|
||||
@ -764,6 +762,11 @@ BUILD_DEPENDS+= bison:${PORTSDIR}/devel/bison
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} >= 500007
|
||||
PERL_VERSION= 5.6.0
|
||||
PERL_VER= 5.6.0
|
||||
PERL_ARCH= mach
|
||||
.else
|
||||
.if ${OSVERSION} >= 300000
|
||||
PERL_VERSION= 5.00503
|
||||
.else
|
||||
@ -771,6 +774,7 @@ PERL_VERSION= 5.00502
|
||||
.endif
|
||||
PERL_VER= 5.005
|
||||
PERL_ARCH= ${ARCH}-freebsd
|
||||
.endif
|
||||
PLIST_SUB+= PERL_VERSION=${PERL_VERSION} \
|
||||
PERL_VER=${PERL_VER} \
|
||||
PERL_ARCH=${PERL_ARCH}
|
||||
|
Loading…
Reference in New Issue
Block a user