portupgrade and PHP

George Hartzell hartzell at kestrel.alerce.com
Tue Nov 4 13:39:32 PST 2003


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