From owner-freebsd-ports@FreeBSD.ORG Sun Aug 17 13:49:42 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F39037B401 for ; Sun, 17 Aug 2003 13:49:42 -0700 (PDT) Received: from basement.kutulu.org (pcp03610121pcs.longhl01.md.comcast.net [68.49.239.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AB9943FAF for ; Sun, 17 Aug 2003 13:49:41 -0700 (PDT) (envelope-from kutulu@kutulu.org) Received: by basement.kutulu.org (Postfix, from userid 1001) id 79AD7A959; Sun, 17 Aug 2003 16:50:02 -0400 (EDT) Date: Sun, 17 Aug 2003 16:50:02 -0400 From: Michael Edenfield To: Matthias Andree Message-ID: <20030817205002.GA87191@basement.kutulu.org> Mail-Followup-To: Matthias Andree , freebsd-ports@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fdj2RfSjLxBAspz7" Content-Disposition: inline In-Reply-To: X-Mailer: Mutt http://www.mutt.org/ X-Accept-Language: en X-PGP-Key: http://www.kutulu.org/pgp/kutulu.asc X-PGP-Fingerprint: 1CE0 3C31 7013 D529 406D 37DC 09CC CD84 A46C 878F User-Agent: Mutt/1.5.4i cc: freebsd-ports@freebsd.org Subject: Re: Port WITH_* options and updates/portupgrade X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Aug 2003 20:49:42 -0000 --fdj2RfSjLxBAspz7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Matthias Andree [030817 13:49]: > I do have concerns with portupgrade though: Whenever I do a batch build > of Postfix, it lacks SASL2 support (that I need to enable manually). >=20 > Is there any chance that port options used in a build, regardless of > WITH_* options or dialog settings, could be stored so that portupgrade > or even a stock "make clean ; make" can find and use these options? Anything that you can pass on the make command line you can put into=20 /usr/local/etc/pkgtools.conf. This is what I have for postfix to=20 always build with DB3: MAKE_ARGS =3D { 'mail/postfix' =3D> 'BATCH=3D1 POSTFIX_OPTIONS=3DDB3', } Just look in the postfix Makefile to see how it handles the various=20 options you get from the dialog. Most other ports that use dialog=20 work similarly. The downside is that you need to remember to always use the pkgtools=20 like portupgrade. It's also easy to forget to add new ports when you=20 need them, but eventually it becomes second nature. --Mike --fdj2RfSjLxBAspz7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/P+p5CczNhKRsh48RApEXAJ9RigH3tmLbmV/WOEatUwjafjC8fACfVzTY YmRCZ17HuFaKFSeJIsy5iRM= =NenU -----END PGP SIGNATURE----- --fdj2RfSjLxBAspz7--