aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>2000-07-04 16:47:50 +0800
committerasami <asami@FreeBSD.org>2000-07-04 16:47:50 +0800
commit48de4e3f59abd43079e32af48ed525b6879a254e (patch)
tree878f0fddd6c9260039ee5c59af96359487f4de51 /Mk
parent05bc53a89f8c14ff5bce338fe31d4f64f7ce3772 (diff)
downloadfreebsd-ports-gnome-48de4e3f59abd43079e32af48ed525b6879a254e.tar.gz
freebsd-ports-gnome-48de4e3f59abd43079e32af48ed525b6879a254e.tar.zst
freebsd-ports-gnome-48de4e3f59abd43079e32af48ed525b6879a254e.zip
(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
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk10
1 files changed, 7 insertions, 3 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 32d19624dc45..95fae7b43625 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -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}