From owner-freebsd-ports@FreeBSD.ORG Fri Dec 31 09:30:32 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B5421065673 for ; Fri, 31 Dec 2010 09:30:32 +0000 (UTC) (envelope-from marco+freebsd-ports@lordsith.net) Received: from trinity.lordsith.net (trinity.lordsith.net [82.168.152.70]) by mx1.freebsd.org (Postfix) with ESMTP id 1A6128FC12 for ; Fri, 31 Dec 2010 09:30:31 +0000 (UTC) Received: by trinity.lordsith.net (Postfix, from userid 1001) id B65896A8E; Fri, 31 Dec 2010 10:10:44 +0100 (CET) Date: Fri, 31 Dec 2010 10:10:44 +0100 From: marco To: freebsd-ports Message-ID: <20101231091044.GA98464@lordsith.net> Mail-Followup-To: marco , freebsd-ports MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: LordSith.Net X-Operating-System: FreeBSD 9.0-CURRENT X-FreeBSD: RULEZ Them All X-GPG-Fingerprint: A025 D8AA AC1B D2FC 380D 4FC1 8EA0 0BA8 8580 E6CB X-GPG-Key: http://lordsith.net/gpgkey X-Uptime: 9:48AM up 15 days, 41 mins, 3 users, load averages: 0.04, 0.06, 0.07 User-Agent: Mutt/1.5.21 (2010-09-15) Subject: ports-mgmt/portconf , ports-mgmt/portmaster and make args X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: marco List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Dec 2010 09:30:32 -0000 Sorry if this has been answered already (just joined this list). I've recently switched to portmaster(8) from portupgrade(1). I'd like to be able to define make args for certain ports as portupgrade supports using /usr/local/etc/pkgtools.conf (MAKE_ARGS section). I installed ports-mgmt/portconf and setup some make args in /usr/local/etc/ports.conf Using portmaster, one is able to prefer packages over compiling source code (-P or --packages). Here is what i'd like to achieve: use portmaster with the -P option (using PM_PACKAGES=first in /usr/local/etc/portmaster.rc) to have a package installed if available, _but_ when a port matches a port I've defined in /usr/local/etc/ports.conf to use certain make args then _don't_ install the package but actually build the port. Is that achievable using the portmaster and portconf ports? -- Marco van Lienen Use UNIX or die.