From owner-freebsd-ports@FreeBSD.ORG Tue May 22 06:47:29 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 60ECD16A46C for ; Tue, 22 May 2007 06:47:29 +0000 (UTC) (envelope-from stephen@math.missouri.edu) Received: from sccmmhc91.asp.att.net (sccmmhc91.asp.att.net [204.127.203.211]) by mx1.freebsd.org (Postfix) with ESMTP id 1A35613C4B9 for ; Tue, 22 May 2007 06:47:28 +0000 (UTC) (envelope-from stephen@math.missouri.edu) Received: from laptop2.montlan (12-216-253-187.client.mchsi.com[12.216.253.187]) by sccmmhc91.asp.att.net (sccmmhc91) with ESMTP id <20070522064724m9100rq0b7e>; Tue, 22 May 2007 06:47:27 +0000 Message-ID: <465291FB.4010901@math.missouri.edu> Date: Tue, 22 May 2007 01:47:23 -0500 From: Stephen Montgomery-Smith User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2) Gecko/20070505 SeaMonkey/1.1.1 MIME-Version: 1.0 To: freebsd-ports@freebsd.org, gnome@freebsd.org Content-Type: multipart/mixed; boundary="------------040209040200090200040309" Cc: Subject: More speed increases for make-ing ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 May 2007 06:47:29 -0000 This is a multi-part message in MIME format. --------------040209040200090200040309 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit This small modification cuts off about 25% off pkg_version on my system. Basically bsd.gnome.mk recursively finds all the dependencies, but many of them are listed many times. This makes make work extra hard when it doesn't have to. I simply weed out the repeated entries. --------------040209040200090200040309 Content-Type: text/plain; name="ddd" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ddd" --- bsd.gnome.mk-orig Tue May 22 01:29:08 2007 +++ bsd.gnome.mk Tue May 22 01:29:22 2007 @@ -655,6 +655,8 @@ _USE_GNOME+= ${${component}_USE_GNOME_IMPL} ${component} . endfor +_USE_GNOME!=(for i in ${_USE_GNOME}; do ${ECHO_CMD} $$i; done) | sort -u + # Setup the GTK+ API version for pixbuf loaders, input method modules, # and theme engines. PLIST_SUB+= GTK2_VERSION="${GTK2_VERSION}" --------------040209040200090200040309--