[Custom LOCALBASE/PREFIX] www/p5-RT-Extension-SLA - fails: mtree

Matthew Seaman m.seaman at infracaninophile.co.uk
Tue Jul 14 11:03:34 UTC 2009


Cezary Morga wrote:
> Matthew Seaman pisze:
>> I think that your patch essentially does that, but see ports/136656 where
>> I have a simpler solution -- just remove $PREFIX from the environment
>> during configuration.
> 
> I don't think removing PREFIX is a good idea. FreeBSD is supposed to 
> support PREFIX for users wishing to install ports elsewhere than 
> /usr/local, that's what this QAT tests 'Custom LOCALBASE/PREFIX' are about.

That is not the effect of my patch at all.

You are failing to distinguish between $PREFIX set as an environment variable
and $PREFIX the make variable.  PREFIX the make variable already controls what
the p5-RT-Extension ports do as variables like SITE_PERL are defined in
terms of it already.   As I said in an earlier post: these ports already honour
PREFIX correctly when it is defined eg. in /etc/make.conf. (The same applies to
LOCALBASE for that matter, but LOCALBASE means nothing to perl configure scripts,
so this whole question doesn't arise)

In fact, it's the make variable which is the important thing for the ports, and
the confusion here arises because different Makefiles or scripts are re-importing
the value from the environment instead of inheriting the settings from
superior makes.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20090714/e52fbeb2/signature.pgp


More information about the freebsd-ports mailing list