Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Sep 2000 07:03:17 -0500
From:      Will Andrews <will@physics.purdue.edu>
To:        Ade Lovett <ade@FreeBSD.ORG>
Cc:        asami@FreeBSD.ORG, ports@FreeBSD.ORG
Subject:   Re: Cleaning up use of site_perl directories in Makefiles
Message-ID:  <20000922070317.E3094@puck.firepipe.net>
In-Reply-To: <20000921125700.S61840@FreeBSD.org>; from ade@FreeBSD.ORG on Thu, Sep 21, 2000 at 12:57:00PM -0500
References:  <20000921125700.S61840@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 21, 2000 at 12:57:00PM -0500, Ade Lovett wrote:
> further along down the line, it may be advisable to have a bsd.perl.mk

Having touched a large number of p5-* ports, I can safely say I know
quite a number of things that are common amongst perl ports and could be
consolidated in a bsd.perl.mk.

> ===================================================================
> RCS file: /home/src/FreeBSD/ports/Mk/bsd.port.mk,v
> retrieving revision 1.350
> diff -u -r1.350 bsd.port.mk
> --- bsd.port.mk	2000/09/13 07:16:49	1.350
> +++ bsd.port.mk	2000/09/21 17:51:47
> @@ -854,6 +854,10 @@
>  				PERL_VER=${PERL_VER} \
>  				PERL_ARCH=${PERL_ARCH}
>  
> +PERL_BASE?=	${LOCALBASE}
> +PERL_SITE=	${PERL_BASE}/lib/perl5/site_perl/${PERL_VER}
> +PERL_SITE_ARCH=	${PERL_SITE}/${PERL_ARCH}
> +
>  .if exists(/usr/bin/perl5) && ${OSVERSION} >= 300000
>  # 3.0-current after perl5 import
>  .if !exists(/usr/bin/perl${PERL_VERSION}) && defined(USE_PERL5)

This is fine for the interim.

-- 
Will Andrews <will@physics.purdue.edu> <will@FreeBSD.org>
GCS/E/S @d- s+:+ a--- C++ UB++++$ P+ L- E--- W+ N-- !o ?K w---
O- M+ V- PS+ PE++ Y+ PGP+>+++ t++ 5 X+ R+ tv+ b++ DI+++ D+ 
G++ e>++++ h! r- y?


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000922070317.E3094>