From owner-freebsd-stable Thu Dec 19 0:11:17 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38EAC37B401 for ; Thu, 19 Dec 2002 00:11:15 -0800 (PST) Received: from CRWdog.demon.co.uk (ppp-209-232-55-40.dialup.snfc21.pacbell.net [209.232.55.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 090B743EA9 for ; Thu, 19 Dec 2002 00:11:13 -0800 (PST) (envelope-from spadger@best.com) Received: from localhost (localhost [127.0.0.1]) by CRWdog.demon.co.uk (Postfix) with ESMTP id A22DC424; Thu, 19 Dec 2002 00:11:05 -0800 (PST) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Craig Boston Cc: Rob B , stable@FreeBSD.ORG Subject: Re: port make options In-Reply-To: Message from Craig Boston of "18 Dec 2002 22:59:34 CST." <1040273973.385.14.camel@aldaris2.auir.gank.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_-1350513587P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Thu, 19 Dec 2002 00:11:05 -0800 From: Andy Sparrow Message-Id: <20021219081105.A22DC424@CRWdog.demon.co.uk> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --==_Exmh_-1350513587P Content-Type: text/plain; charset=us-ascii > Samba is actually a pretty well behaved port. It seems to do things the > "right" way (IMO of course). If you want to disable CUPS, and enable > Quotas and MS-DFS, and not have to manually acknowledge the dialog box, > you can put this in the MAKE_ARGS section of pkgtools.conf (all one > line). > > 'net/samba' => 'BATCH=YES WITHOUT_CUPS=YES WITH_MSDFS=YES > WITH_QUOTAS=YES', > > That wasn't too bad. You can get an idea of what options are possible > by looking at /usr/ports/net/samba/scripts/configure.samba. Well, that's my button pushed... You can figure most things (well-)supported by the Ports build procedure with a quick squint in the port Makefile. So, is it easier to slap BATCH=YES WITHOUT_CUPS=YES WITH_MSDFS=YES WITH_QUOTAS=YES in Makefile.local in the top level directory of the port when you've just looked at the Makefile in the same directory, or to try to remember what exactly the name of the file was that came with that wacky ports package you haven't looked at in months, and where did it put it again? > Now, for mod_php4, things get hairier... Here's the pkgtools.conf line > from my web server: > > 'www/mod_php4' => 'BATCH=YES PHP4_OPTIONS=\'\\\"zlib\\\" \\\"GD2\\\" > \\\"PostgreSQL\\\" \\\"OpenLDAP2\\\" \\\"XML\\\" \\\"pspell\\\" > \\\"transsid\\\"\'' > > Yikes... Yowser.. > I seem to remember running across a port or two that didn't have any way > at all to set custom options when BATCH was set, but I can't think of it > at the moment. Heh, actually, my pet peeve on that score is net-snmp, which refuses to build at all if BATCH is set, because it's "an interactive port". (it wants to collect an email address and a location string - I only ever hit anyway). :) Cheers, AS --==_Exmh_-1350513587P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) Comment: Exmh version 2.5 07/13/2001 iD8DBQE+AX8ZPHh895bDXeQRAl93AJ4nlDI1PaO5qW+pghfr/93YTnIoIACfU8pL yxngJoisnBAPLThit10BPD8= =KXvV -----END PGP SIGNATURE----- --==_Exmh_-1350513587P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message