svn commit: r372718 - in head: . Mk/Uses
Mathieu Arnold
mat at FreeBSD.org
Tue Nov 18 13:45:58 UTC 2014
Author: mat
Date: Tue Nov 18 13:45:56 2014
New Revision: 372718
URL: https://svnweb.freebsd.org/changeset/ports/372718
QAT: https://qat.redports.org/buildarchive/r372718/
Log:
Introduce the SITE_ARCH variable containing SITE_PERL/PERL_ARCH.
With hat: perl@, portmgr@
Sponsored by: Absolight
Modified:
head/CHANGES
head/Mk/Uses/perl5.mk
Modified: head/CHANGES
==============================================================================
--- head/CHANGES Tue Nov 18 13:14:17 2014 (r372717)
+++ head/CHANGES Tue Nov 18 13:45:56 2014 (r372718)
@@ -10,6 +10,12 @@ in the release notes and/or placed into
All ports committers are allowed to commit to this file.
+20141118:
+AUTHOR: mat at FreeBSD.org
+
+ To ease future work, a new SITE_ARCH variable and PLIST_SUB replacement
+ containing SITE_PERL/PERL_ARCH has been added.
+
20141102:
AUTHOR: bdrewery at FreeBSD.org
Modified: head/Mk/Uses/perl5.mk
==============================================================================
--- head/Mk/Uses/perl5.mk Tue Nov 18 13:14:17 2014 (r372717)
+++ head/Mk/Uses/perl5.mk Tue Nov 18 13:45:56 2014 (r372718)
@@ -23,6 +23,8 @@
# (value: perl5.14)
# SITE_PERL - Directory name where site specific perl packages go.
# This value is added to PLIST_SUB.
+# SITE_ARCH - Directory name where arch site specific perl packages go.
+# This value is added to PLIST_SUB.
# USE_PERL5 - If set, this port uses perl5 in one or more of the extract,
# patch, build, install or run phases. The fixpacklist is
# needed in some cases, when a .packlist is created, it may
@@ -96,6 +98,8 @@ PERL_PORT?= perl5.14
SITE_PERL_REL?= lib/perl5/site_perl/${PERL_VER}
SITE_PERL?= ${LOCALBASE}/${SITE_PERL_REL}
+SITE_ARCH_REL?= ${SITE_PERL_REL}/${PERL_ARCH}
+SITE_ARCH?= ${LOCALBASE}/${SITE_ARCH_REL}
PERL5= ${LOCALBASE}/bin/perl${PERL_VERSION}
PERL= ${LOCALBASE}/bin/perl
@@ -156,6 +160,7 @@ PLIST_SUB+= PERL_VERSION=${PERL_VERSION}
PERL_VER=${PERL_VER} \
PERL_ARCH=${PERL_ARCH} \
PERL5_MAN3=lib/perl5/${PERL_VER}/man/man3 \
+ SITE_ARCH=${SITE_ARCH_REL} \
SITE_PERL=${SITE_PERL_REL}
# handle perl5 specific manpages
@@ -170,7 +175,7 @@ MANDIRS+= ${PREFIX}/lib/perl5/${PERL_VER
_USE_PERL5+= configure
ALL_TARGET?= # empty
CONFIGURE_ARGS+=--install_path lib="${PREFIX}/${SITE_PERL_REL}" \
- --install_path arch="${PREFIX}/${SITE_PERL_REL}/${PERL_ARCH}" \
+ --install_path arch="${PREFIX}/${SITE_ARCH_REL}" \
--install_path script="${PREFIX}/bin" \
--install_path bin="${PREFIX}/bin" \
--install_path libdoc="${MAN3PREFIX}/man/man3" \
More information about the svn-ports-head
mailing list