From owner-freebsd-questions@FreeBSD.ORG Wed Apr 16 12:06:24 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37DDE37B401 for ; Wed, 16 Apr 2003 12:06:24 -0700 (PDT) Received: from sante.techgodz.com (mdsnwi13-vlan436-120.dsl.tds.net [66.222.30.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 673E843F3F for ; Wed, 16 Apr 2003 12:06:23 -0700 (PDT) (envelope-from sephtin@techgodz.com) Received: from 000000252436PC (unknown [192.168.1.8]) by sante.techgodz.com (Postfix) with SMTP id CF74F64; Wed, 16 Apr 2003 14:04:53 -0500 (CDT) Message-ID: <00a701c3044b$44be5b10$be22410a@corporate.amfam.com> From: "John" To: "Matthew Seaman" References: <200304161534.10782.a.carter@intrasoft.lu> <20030416135228.GA56101@happy-idiot-talk.infracaninophi> Date: Wed, 16 Apr 2003 10:04:27 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 cc: freebsd-questions@freebsd.org Subject: More info requested regarding passing args to ports WAS: Re: portupgrade question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Apr 2003 19:06:24 -0000 >>On Wed, Apr 16, 2003 at 03:34:10PM +0200, CARTER Anthony wrote: >> If I do a make WITH_BSD_JDK=TRUE install >> >> in /usr/ports/editors/openoffice, can i >> >> portupgrade -r WITH_BSD_JDK=TRUE openoffice >> or not? > >Yes, but the syntax is: > > portupgrade -r -m WITH_BSD_JDK=TRUE editors/openoffice > >Even better is to edit /usr/local/etc/pkgtools.conf and add the make >flags to the MAKE_ARGS array: > > MAKE_ARGS = { > 'editors/openoffice' => 'WITH_BSD_JDK=TRUE', > } > >That way, the flags are supplied without your having to always >remember to include them on the command line. >Cheers, >Matthew I am interested in doing this very thing, but rather with Postfix, to use cyrus-sasl. Example: During the postfix install, it brings up a text menu, and asks what options to compile into postfix. Is there a way to bypass the menu, but be certain that everytime postfix is portupgraded, or make deinstall/install (or make reinstall'ed) that SASL and TLS will be selected and compiled in? I'm really looking for a solution that won't be "broken" by cvsupping to a new version... I'm just looking for either documentation on this, or a nudge in the right direction. ;) Thanks! John