Date: Thu, 6 Nov 2003 06:32:54 +0200 From: Rolandas Naujikas <rolnas@takas.lt> To: George Hartzell <hartzell@kestrel.alerce.com> Cc: stable@freebsd.org Subject: Re: portupgrade and PHP Message-ID: <20031106043254.GA770@rolnas> In-Reply-To: <16296.7308.973001.618090@rosebud.alerce.com> References: <16296.7308.973001.618090@rosebud.alerce.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. > > > ------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031106043254.GA770>