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

chris# at 1command.com chris# at 1command.com
Tue Aug 26 22:16:15 UTC 2008


Quoting chris#@1command.com:

> Quoting Paul Schmehl <pschmehl_lists at tx.rr.com>:
>
>> --On August 26, 2008 2:09:27 PM -0700 chris#@1command.com 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.

--Chris

>
> 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 freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>





More information about the freebsd-stable mailing list