From owner-freebsd-ports Thu Mar 28 0:28:45 2002 Delivered-To: freebsd-ports@freebsd.org Received: from emmi.physik.TU-Berlin.DE (emmi.physik.TU-Berlin.DE [130.149.160.103]) by hub.freebsd.org (Postfix) with ESMTP id 9157337B419; Thu, 28 Mar 2002 00:28:40 -0800 (PST) Received: (from ibex@localhost) by emmi.physik.TU-Berlin.DE (8.11.6/8.11.6) id g2S8SdJ65822; Thu, 28 Mar 2002 09:28:39 +0100 (CET) (envelope-from ibex) Date: Thu, 28 Mar 2002 09:28:39 +0100 From: Dirk Froemberg To: Maxim Sobolev Cc: ports@freebsd.org Subject: Re: cvs commit: ports/Mk bsd.port.mk Message-ID: <20020328092839.A65441@physik.TU-Berlin.DE> References: <200203250848.g2P8mlf77991@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200203250848.g2P8mlf77991@freefall.freebsd.org>; from sobomax@freebsd.org on Mon, Mar 25, 2002 at 12:48:47AM -0800 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Maxim! mod_php4 (and mod_php3 and probably others) doesn't work with this change any longer. Makefile.inc is written the way it is supposed to be but it isn't included or evaluated. % cd /usr/ports/www/mod_php4 % make clean % make all [select some options, e. g. gettext] ===> Extracting for mod_php4-4.1.2 >> Checksum OK for php-4.1.2.tar.gz. ===> mod_php4-4.1.2 depends on file: /usr/local/sbin/apxs - found ===> mod_php4-4.1.2 depends on executable: autoconf213 - found [dependency to intl.1 is missing] ===> Patching for mod_php4-4.1.2 ===> Applying FreeBSD patches for mod_php4-4.1.2 ===> Configuring for mod_php4-4.1.2 [...] The following sequence still works as expected: % cd /usr/ports/www/mod_php4 % make clean % make fetch [select some options, e. g. gettext] % make all Please have a look at the problem. I'm getting a lot of complaints from users. Regards Dirk On Mon, Mar 25, 2002 at 12:48:47AM -0800, Maxim Sobolev wrote: > sobomax 2002/03/25 00:48:47 PST > > Modified files: > Mk bsd.port.mk > Log: > - Significantly reduce overhead associated with bsd.port.mk by replacing .USE > macro, which was invoking separate make(1) process for each of the main > targets, with explicit make(1) targets and specifying the dependencies on > those targets in normal Makefile way. This gives up to 4x speedup. For the > ports relying on the old functionality (i.e. each main target in a separate > make(1) process) provide a USE_SUBMAKE knob, which provides old behaviour; > > - speed-up dependency registration process by the factor of two, which > could be a great win especially for things like GNOME and KDE with very long > dependency chains; > > - clean-up internal structure of the file, so that it is easier to understand > and extend it when necessary. > > Inspired by: NetBSD > Reviewed by: freebsd-ports@ > Tested by: bento > > Revision Changes Path > 1.403 +176 -184 ports/Mk/bsd.port.mk -- Dirk Froemberg FreeBSD: The Power to Serve! http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message