From owner-svn-ports-all@FreeBSD.ORG Tue Nov 18 13:45:58 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1DE97E27; Tue, 18 Nov 2014 13:45:58 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E50CC80A; Tue, 18 Nov 2014 13:45:57 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sAIDjvKw056334; Tue, 18 Nov 2014 13:45:57 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sAIDjvgM056332; Tue, 18 Nov 2014 13:45:57 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201411181345.sAIDjvgM056332@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Tue, 18 Nov 2014 13:45:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r372718 - in head: . Mk/Uses X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2014 13:45:58 -0000 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@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@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" \