From owner-freebsd-ports@FreeBSD.ORG Mon Sep 11 07:58:54 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org 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 58E9E16A412 for ; Mon, 11 Sep 2006 07:58:54 +0000 (UTC) (envelope-from itetcu@FreeBSD.org) Received: from it.buh.tecnik93.com (it.buh.tecnik93.com [81.196.204.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2FA043D49 for ; Mon, 11 Sep 2006 07:58:53 +0000 (GMT) (envelope-from itetcu@FreeBSD.org) Received: from it.buh.tecnik93.com (localhost [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id 908FC18235; Mon, 11 Sep 2006 10:58:52 +0300 (EEST) Date: Mon, 11 Sep 2006 10:58:51 +0300 From: Ion-Mihai "IOnut" Tetcu To: Doug Hardie Message-ID: <20060911105851.6c1e1e58@it.buh.tecnik93.com> In-Reply-To: References: X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_N/5kN4nTaGvNwFhdIgaEqN+"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: FreeBSD-PORTS Subject: Re: portconf port 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: Mon, 11 Sep 2006 07:58:54 -0000 --Sig_N/5kN4nTaGvNwFhdIgaEqN+ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 10 Sep 2006 21:26:11 -0700 Doug Hardie wrote: > I have been trying to figure out how to configure portconf. The 3 =20 > examples given are not much help with complex ports. I am starting =20 > with the dspam port (mail/dspam) as if I can figure that one out the =20 > rest should be easy. I first tried to use the arguments from the =20 > configure command: >=20 > mail/dspam: CONFIGURE_ARGS=3D--with-logdir=3D/var/log/dspam \ > --with-dspam-home=3D/var/db/dspam \ > --with-dspam-home-owner=3Droot \ > --with-dspam-home-group=3Dmail \ > --with-dspam-home-mode=3D0770 \ > --with-dspam-owner=3Droot \ > --with-dspam-group=3Dmail \ > --enable-homedir \ > --with-storage-driver=3Dhash_drv \ > --with-delivery-agent=3D/usr/sbin/sendmail \ > --with-dspam-mode=3D4511 \ > --prefix=3D/usr/local I don't use portconf because I didn't have time to set it up consistently for all my ports, but I suggest you stick to the KNOBS and OPTIONS the port provides (except if you find something not covered by them, which I doubt, and in which case please tell me about so I can fix it). Based on their value I do a few things to the standard distribution and I see no reason for you to repeat that post-install each time. > That still brought up the options selection menu. Hitting cancel on =20 > that caused the port to start to build, but it still tried to =20 > download mysql 5.0 which I don't want. The above configure command =20 > is how I normall build dspam - in the dspam directory. >=20 > Then I tried to select the options from Makefile entering the > options I wanted (haven't figured out how to sent the drectories > though): >=20 > mail/dspam: WITH SYSLOG | DEBUG | HASH USER_HOMEDIR | SENDMAIL | =20 > SENDMAIL_LDA Maybe if you also put BATCH here ? Also you need to put WITHOUT for all options that default to on (that includes MYSQL50). My suggestion would be to do a make config and copy/paste from resulting OPTIONS file. > That skips the options selection menu fine, but still tries to =20 > download mysql 5.0 which I don't want. I then tried to add the =20 > WITHOUT options: >=20 > mail/dspam: WITH SYSLOG | DEBUG | HASH USER_HOMEDIR | SENDMAIL | =20 > SENDMAIL_LDA WITHOUT DAEMON | MYSQL50 | POSTGRESQL | SQLITE3 AFAIK I don't have custom hack WRT to OPTIONS handling anymore (except check-options-version: target which I guarantee it ain't responsible for your problem) but I'll take a look tonight. Try to put in WITHOUT for the rest of MYSQL versions and MYSQL_LOCAL and if something changes then I have a bug in the port. --=20 IOnut - Un^d^dregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" Actual war is a very messy business. Very, very messy business. -- Kirk, "A Taste of Armageddon", stardate 3193.0 --Sig_N/5kN4nTaGvNwFhdIgaEqN+ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFBRc8BX6fi0k6KXsRAstIAKDFIcUEWIBVhYGdBLv/L/5GEch6KQCgy00f pA1c0r5Dcpp7jgV0b/OeQTA= =Auk6 -----END PGP SIGNATURE----- --Sig_N/5kN4nTaGvNwFhdIgaEqN+--