From owner-freebsd-questions@FreeBSD.ORG Sun Dec 28 08:43:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 768981065670 for ; Sun, 28 Dec 2008 08:43:09 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id E71988FC0C for ; Sun, 28 Dec 2008 08:43:08 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id mBS8h0Nv098407; Sun, 28 Dec 2008 08:43:01 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk mBS8h0Nv098407 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1230453782; bh=D3ZHq1tUgcJ7gB l7s2lwtWJIi6S9h346kLd9dUeID90=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type:Cc:Content-Type: Date:From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Mes sage-ID:=20<49573C0D.7030405@infracaninophile.co.uk>|Date:=20Sun,=2 028=20Dec=202008=2008:42:53=20+0000|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.18=20(X11/20081125)|MIME-Version:=201 .0|To:=20Mel=20|CC:=20freebsd- questions@freebsd.org,=20=0D=0A=20"B.=20Cook"=20|Subject:=20Re:=20ports-mgmt/portmaster=20question|Refe rences:=20<49522444.8080409@poughkeepsieschools.org>=20<49522C7B.10 70101@infracaninophile.co.uk>=20<200812271448.53240.fbsd.questions@ rachie.is-a-geek.net>|In-Reply-To:=20<200812271448.53240.fbsd.quest ions@rachie.is-a-geek.net>|X-Enigmail-Version:=200.95.6|Content-Typ e:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol= 3D"application/pgp-signature"=3B=0D=0A=20boundary=3D"------------en ig8D508933733279BBC6DB8AB2"; b=L7ippO/3bGeh7z1M2XTNozNvKC5SnHBt5UyU 8V96+mH4u3qrRnFKvMsAJHh08rr6WSpZv+pTG926JOGKqPEHJy6/ot5+cY9c1pbY5td xgNWCeA06dRDDfSfVYw3MAE8oPSNy8XoVxBYA4uo+z9+pxRecOl/HnqcGwqVE1i2BQS M= Message-ID: <49573C0D.7030405@infracaninophile.co.uk> Date: Sun, 28 Dec 2008 08:42:53 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: Mel References: <49522444.8080409@poughkeepsieschools.org> <49522C7B.1070101@infracaninophile.co.uk> <200812271448.53240.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: <200812271448.53240.fbsd.questions@rachie.is-a-geek.net> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig8D508933733279BBC6DB8AB2" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (smtp.infracaninophile.co.uk [IPv6:::1]); Sun, 28 Dec 2008 08:43:02 +0000 (GMT) X-Virus-Scanned: ClamAV 0.94.2/8804/Sun Dec 28 03:13:10 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: "B. Cook" , freebsd-questions@freebsd.org Subject: Re: ports-mgmt/portmaster question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Dec 2008 08:43:09 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8D508933733279BBC6DB8AB2 Content-Type: text/plain; charset=ISO-8859-6; format=flowed Content-Transfer-Encoding: quoted-printable Mel wrote: > On Wednesday 24 December 2008 03:35:07 Matthew Seaman wrote: >> B. Cook wrote: >>> Is there a way to pass make args (other than -m) for each port? >>> >=20 > ... >=20 >> If you want options that only apply to specific ports, then you can us= e >> a construct like this: >> >> .if ${.CURDIR:M*/databases/mysql*} >> WITH_CHARSET=3Dutf8 >> WITH_XCHARSET=3Dnone >> WITH_COLLATION=3Dutf8_unicode_ci >> WITH_OPENSSL=3Dyes >> BUILD_OPTIMIZED=3Dyes >> WITH_INNODB=3Dyes >> WITH_ARCHIVE=3Dyes >> WITH_FEDERATED=3Dyes >> WITH_NDB=3Dyes >> WITH_CSV=3Dyes >> WITH_SPHINXSE=3Dyes >> .endif >=20 > Or, so you don't have one blobby make.conf that needs to be read for=20 > everything that uses FreeBSD's make, you can make a file called=20 > Makefile.local in the port's directory and set these. > There are only a few special cases in which this won't work, because it= is=20 > included at "the bottom of the port's Makefile", but then you can resor= t=20 > to /etc/make.conf. >=20 Yep. That's true. Unfortunately though if you use freebsd-update to=20 update your ports tree it will blow away any additional files like=20 that. csup(1) users will not have that problem. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig8D508933733279BBC6DB8AB2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAklXPBQACgkQ8Mjk52CukIzDLgCfdtGxwWYwLaN8LWRE2ENjNDIx f/AAnib63OBCVsCf+++Q0FZMSmb8nkqS =tbDk -----END PGP SIGNATURE----- --------------enig8D508933733279BBC6DB8AB2--