changing a ports final destination via make knobs question...

chris# at chris# at
Tue Aug 26 22:16:15 UTC 2008


> Quoting Paul Schmehl <pschmehl_lists at>:
>> --On August 26, 2008 2:09:27 PM -0700 wrote:
>>> I'll have a close look at $LOCALBASE. That sounds like a good
>>> candidate. With any luck, it'll also cover extensions, ini(s), and
>>> related libs. :)
>> Please be aware that if you change ${LOCALBASE} you change it for 
>> *all* subsequently installed port.  Chris' suggestion to use make 
>> install PREFIX=/usr/local/php5 is the correct one for changing the 
>> location of a single port.
> Hello, and thank you very much for your reply.
> Yes. After looking closely at the variable, I discovered that also.
> So I used the PREFIX=/usr/local/php5. But as I build it (via php5-extensions)
> I am not seeing the PREFIX variable reflected. Shouldn't I be using:
> make -DPREFIX=/usr/local/php5? Or simply hack the Makefile?

OK. Never mind. Installing via lang/php5-extensions w/
make PREFIX=/usr/local/php5

resulted in:
Installing PHP CGI into: /usr/local/php5/bin/
Installing build environment:     /usr/local/php5/lib/php/build/
Installing header files:          /usr/local/php5/include/php/
Installing helper programs:       /usr/local/php5/bin/
  program: phpize
  program: php-config
Installing man pages:             /usr/local/php5/man/man1/

So that went as desired.
But the extension(s) vomited because I renamed phpize (PHP4) php4ize.
OOOPS! I thought I should do that 'cause of potential versioning issues 
- guess not. <blush>

Thanks again for taking the time to respond.


> Thanks again for taking the time to respond.
> --Chris
>> Paul Schmehl, If it isn't already
>> obvious, my opinions are my own
>> and not those of my employer.
>> ******************************************
>> WARNING: Check the headers before replying
> _______________________________________________
> freebsd-stable at mailing list
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at"

More information about the freebsd-stable mailing list