portupgrade and PHP

Rolandas Naujikas rolnas at takas.lt
Wed Nov 5 20:33:05 PST 2003


You can put compilations options (variables) into /etc/make.conf.
I use /etc/make.conf without problems, conditionally within
.if ${.CURDIR:N*/ports/______} == ""
.endif
/etc/make.conf is used by make before any other system makefile.

Rolandas Naujikas

On Tue, Nov 04, 2003 at 01:39:24PM -0800, George Hartzell wrote:
> Erick Mechler writes:
>  > :: > How can I continually compile PHP with the same
>  > :: > options as the last time?
>  > :: 
>  > :: Edit /usr/ports/lang/php4/Makefile and change the line
>  > :: PHP4_OPTIONS?= according to your needs.
>  > 
>  > Except that the next time you upgrade your ports tree, your changes will 
>  > be overwritten.  Check out the /usr/local/etc/pkgtools.conf file.  This is 
>  > how you can use your own make(1) options using portupgrade consistently.  
>  > The options you can use for each port can be found in its respective 
>  > Makefile.
> 
> Or, if the port is set up to respect Makefile.local, put the 
> 
> PHP4_OPTIONS?= according to your needs.
> 
> in there.  Not all ports seem to get this right though, so check it
> before you trust it.
> 
> g.
> 
> 
> ------------------------------


More information about the freebsd-stable mailing list