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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to