From owner-freebsd-stable@FreeBSD.ORG Wed Nov 5 20:33:05 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 41ABD16A4CE for ; Wed, 5 Nov 2003 20:33:05 -0800 (PST) Received: from mail.vinita.lt (mail.vinita.lt [217.147.34.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9267744003 for ; Wed, 5 Nov 2003 20:33:02 -0800 (PST) (envelope-from rolnas@takas.lt) Received: from ctv-217-147-36-211.vinita.lt ([217.147.36.211] helo=rolnas.linux) by mail.vinita.lt with esmtp (powered by Init) id 1AHbuH-0004G4-00; Thu, 06 Nov 2003 06:38:05 +0200 Received: from rolnas by rolnas.linux with local (Exim 3.35 #1 (Debian)) id 1AHbpG-0000Fa-00; Thu, 06 Nov 2003 06:32:54 +0200 Date: Thu, 6 Nov 2003 06:32:54 +0200 From: Rolandas Naujikas To: George Hartzell Message-ID: <20031106043254.GA770@rolnas> References: <16296.7308.973001.618090@rosebud.alerce.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <16296.7308.973001.618090@rosebud.alerce.com> User-Agent: Mutt/1.3.28i Organization: VU MIF Sender: Rolandas Naujikas cc: stable@freebsd.org Subject: Re: portupgrade and PHP X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2003 04:33:05 -0000 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. > > > ------------------------------