Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Dec 2002 00:11:05 -0800
From:      Andy Sparrow <spadger@best.com>
To:        Craig Boston <craig@meoqu.gank.org>
Cc:        Rob B <rbyrnes@ozemail.com.au>, stable@FreeBSD.ORG
Subject:   Re: port make options 
Message-ID:  <20021219081105.A22DC424@CRWdog.demon.co.uk>
In-Reply-To: Message from Craig Boston <craig@meoqu.gank.org>  of "18 Dec 2002 22:59:34 CST." <1040273973.385.14.camel@aldaris2.auir.gank.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
--==_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 <CR> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021219081105.A22DC424>