Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Aug 2008 15:16:06 -0700
From:      chris#@1command.com
To:        freebsd-stable@freebsd.org
Subject:   Re: changing a ports final destination via make knobs question...
Message-ID:  <20080826151606.sabld2vt28kkcc4c@webmail.1command.com>
In-Reply-To: <20080826150525.bqfs1a440cs8s408@webmail.1command.com>
References:  <20080826124253.7rfp8sb8rcgs0o0o@webmail.1command.com> <91A28195-55BC-4B4C-8382-9A9221AF8CDA@mac.com> <20080826140927.kq3fgpmuw8okw8gw@webmail.1command.com> <CAC04EB6CE66BCAE9FA859F4@Macintosh.local> <20080826150525.bqfs1a440cs8s408@webmail.1command.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting chris#@1command.com:

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






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