From owner-freebsd-ports@FreeBSD.ORG Wed Apr 22 22:24:11 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D2BFEF6C for ; Wed, 22 Apr 2015 22:24:11 +0000 (UTC) Received: from mx1a.swcp.com (mx1a.swcp.com [216.184.2.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8B9B91E01 for ; Wed, 22 Apr 2015 22:24:11 +0000 (UTC) Received: from ame2.swcp.com (ame2.swcp.com [216.184.2.119]) by mx1a.swcp.com (8.14.4/8.14.4/Debian-4) with ESMTP id t3MMOViP019313; Wed, 22 Apr 2015 16:24:32 -0600 Received: from risu.swcp.com (risu.swcp.com [216.184.2.5]) by ame2.swcp.com (8.15.1/8.14.9) with ESMTPS id t3MMO36d061236 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 22 Apr 2015 16:24:04 -0600 (MDT) (envelope-from cheeks@swcp.com) Received: from risu.swcp.com (localhost.swcp.com [127.0.0.1]) by risu.swcp.com (8.13.3/8.13.1) with ESMTP id t3MMO3WB058770; Wed, 22 Apr 2015 16:24:03 -0600 (MDT) (envelope-from cheeks@risu.swcp.com) Received: (from cheeks@localhost) by risu.swcp.com (8.13.3/8.13.1/Submit) id t3MMO2QC058769; Wed, 22 Apr 2015 16:24:02 -0600 (MDT) (envelope-from cheeks) Date: Wed, 22 Apr 2015 16:24:02 -0600 From: Mark Costlow To: Adam McDougall Cc: freebsd-ports@freebsd.org Subject: Re: How to set unsupported port build options in make.conf with poudriere? Message-ID: <20150422222402.GA58592@risu.swcp.com> References: <20150422175004.GA48667@risu.swcp.com> <5537FC35.8080401@egr.msu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5537FC35.8080401@egr.msu.edu> User-Agent: Mutt/1.5.12-2006-07-14 X-Scanned-By: MIMEDefang 2.75 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (ame2.swcp.com [216.184.2.127]); Wed, 22 Apr 2015 16:24:06 -0600 (MDT) X-Virus-Scanned: clamav-milter 0.98.6 at ame2 X-Virus-Status: Clean X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ame2.swcp.com X-Spam-Status: No, hits=-1.0 tests=ALL_TRUSTED, T_RP_MATCHES_RCVD version=3.4.0 X-Spam-Level: X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Apr 2015 22:24:11 -0000 On Wed, Apr 22, 2015 at 09:53:25AM -1000, Adam McDougall wrote: > On 4/22/2015 7:50 AM, Mark Costlow wrote: > >I'm using poudriere on FreeBSD 10.1. I need to set --enable-drac when > >building mail/milter-greylist. There is no corresponding option in > >the milter-greylist port. In the past, I used portconf to achieve this: > > > >mail/milter-greylist: CONFIGURE_ARGS+=--enable-drac > > > >In the new post-portconf world, I tried this in > >/usr/local/etc/poudriere.d/build-make.conf: > > > >milter-greylist_SET="CONFIGURE_ARGS+=--enable-drac" > > > > > Try: > .if ${.CURDIR:M*/mail/milter-greylist} > CONFIGURE_ARGS+= --enable-drac > .endif Thank you! That worked perfectly. > _SET and _UNSET are only for toggling options, an example would be: > mail_spamassassin_SET=DCC DKIM RAZOR PYZOR RELAY_COUNTRY SPF_QUERY That certainly explains why I couldn't find any examples of _SET being used that way. Mark -- Mark Costlow | Southwest Cyberport | Fax: +1-505-232-7975 cheeks@swcp.com | Web: www.swcp.com | Voice: +1-505-232-7992 Mail Minder - Intelligent Push Notifications for Email on the iPhone http://mailminderapp.com/download or in the App Store