Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Sep 2000 14:28:46 -0500
From:      Ade Lovett <ade@FreeBSD.org>
To:        Will Andrews <will@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   SITE_PERL variable (Was Re: ports/21425...)
Message-ID:  <20000920142846.F54766@FreeBSD.org>
In-Reply-To: <200009201910.MAA18103@freefall.freebsd.org>; from will@physics.purdue.edu on Wed, Sep 20, 2000 at 12:10:02PM -0700
References:  <200009201910.MAA18103@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 20, 2000 at 12:10:02PM -0700, Will Andrews wrote:
>  [snip]
>
>  I shortened
>  by consolidating the common directories in a ${SITE_PERL} variable.

A bunch of ports use various methods to create their own site perl
variables.  Perhaps it's something we should include from bsd.port.mk
if WITH_PERL5 is defined.

If it sounds useful, I'm willing to go write up the patch, and once
committed, start bouncing around the tree doing cleanups.

Thinking about it, we probably need a few variables:

	SITE_PERL_BASE ?= ${LOCALBASE}
	SITE_PERL	= ${SITE_PERL_BASE}/lib/perl5/site_perl/${PERL_VER}
	SITE_PERL_ARCH	= ${SITE_PERL}/${PERL_ARCH}

Thoughts?  Would certainly clean up a bunch of Makefiles.

-aDe

-- 
Ade Lovett, Austin, TX.			ade@FreeBSD.org
FreeBSD: The Power to Serve		http://www.FreeBSD.org/


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?20000920142846.F54766>