Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jul 2007 16:25:14 +0200
From:      Anton Berezin <tobez@tobez.org>
To:        Paul Schmehl <pauls@utdallas.edu>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: How to include new dirs in @INC
Message-ID:  <20070724142514.GA4315@heechee.tobez.org>
In-Reply-To: <1B50EA71ECD75693D12CE9D3@utd59514.utdallas.edu>
References:  <A28004F61E056F5279E996F7@utd59514.utdallas.edu> <20070724095718.GB68140@heechee.tobez.org> <1B50EA71ECD75693D12CE9D3@utd59514.utdallas.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 24, 2007 at 09:18:17AM -0500, Paul Schmehl wrote:

> >So problem solved, or?

> Problem solved.

Nice!

> BTW, maybe you know the answer to this.  I can't remove the perl modules in 
> pkg-plist because it prepends PREFIX to SITE_PERL, making the location 
> /usr/local/usr/local/lib/perl5/site_perl/5.8.8.  This seems to me to be a 
> bug.  Shouldn't pkg-plist honor SITE_PERL and not prepend PREFIX?

Hmmm.  I assume you are using %%SITE_PERL%% as the prefix in the pkg-plist?

bsd.port.mk defines ${SITE_PERL} as ${PREFIX}${SITE_PERL_REL}, and it
defines a plist substitution %%SITE_PERL%% to be the same as
${SITE_PERL_REL}, so in most circumstances it "just works".

Maybe a snippet of your pkg-plist together with *-install Makefile targets
(if any) would help to see what's wrong?

\Anton.
-- 
We're going for 'working' here. 'clean' is for people with skills...
-- Flemming Jacobsen



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