From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 12:35:20 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 E377C1065673 for ; Wed, 24 Dec 2008 12:35:20 +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 611748FC1D for ; Wed, 24 Dec 2008 12:35:20 +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 mBOCZD2X071700; Wed, 24 Dec 2008 12:35:14 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk mBOCZD2X071700 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1230122114; bh=hbGSfzi305OJhc Rsk3DosDRrfaxhMtRPA3whyfo/txA=; 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<49522C7B.1070101@infracaninophile.co.uk>|Date:=20Wed,=2 024=20Dec=202008=2012:35:07=20+0000|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.18=20(X11/20081125)|MIME-Version:=201 .0|To:=20"B.=20Cook"=20|CC:=20freebs d-questions@freebsd.org|Subject:=20Re:=20ports-mgmt/portmaster=20qu estion|References:=20<49522444.8080409@poughkeepsieschools.org>|In- Reply-To:=20<49522444.8080409@poughkeepsieschools.org>|X-Enigmail-V ersion:=200.95.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp -sha256=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A= 20boundary=3D"------------enig5A627A46DBDF3F5780BF96E1"; b=FKBEVBhB 1lkEobVVnwdd2pps6HDn1G/jdECA9oar7NSyhNnt7QecYlW4lNnfhGzABErPbqgvkw1 ZLTJEoRDOUUbYfqSyoKXinVIMTfW+3/9q0IenE/JAIeFtDazwozpaS+vxPo6jrK3iqc CnbkU682k3MOCAbi2OIQZIINFfzts= Message-ID: <49522C7B.1070101@infracaninophile.co.uk> Date: Wed, 24 Dec 2008 12:35:07 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: "B. Cook" References: <49522444.8080409@poughkeepsieschools.org> In-Reply-To: <49522444.8080409@poughkeepsieschools.org> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig5A627A46DBDF3F5780BF96E1" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (smtp.infracaninophile.co.uk [IPv6:::1]); Wed, 24 Dec 2008 12:35:14 +0000 (GMT) X-Virus-Scanned: ClamAV 0.94.2/8796/Wed Dec 24 06:19:40 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.1 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: 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: Wed, 24 Dec 2008 12:35:21 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5A627A46DBDF3F5780BF96E1 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable B. Cook wrote: > Is there a way to pass make args (other than -m) for each port? >=20 > For example if I use -m BUILD_STATIC=3DYES and -m BUILD_OPTIMIZED=3DYES= for=20 > mysql50-server.. other than remembering that I did that.. is there=20 > someway to have portmaster read its portmaster.rc and get that informat= ion? Yes. Actually, it's not portmaster specific -- it works for any method o= f using ports. Just edit /etc/make.conf to include the options you want. eg. WITH_OPENSSL_PORT=3D yes WITH_BDB_VER=3D 46 WITH_MYSQL_VER=3D 50 WITH_OPENLDAP_VER=3D 24 WANT_OPENLDAP_SASL=3D yes WITH_APACHE2=3D yes APACHE_PORT=3D www/apache22 WITH_MODPERL2=3D yes If you want options that only apply to specific ports, then you can use a construct like this: =2Eif ${.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 =2Eendif=20 If editing /etc/make.conf gives you too much grief, then look at the ports-mgmt/portconf tool -- it works the same way (ie. by setting variables in the make system) but has a user interface that attempts to be a bit more friendly. 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 --------------enig5A627A46DBDF3F5780BF96E1 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 iEYEAREIAAYFAklSLIEACgkQ8Mjk52CukIxrpgCeJHNr9qr1noArHpylUoxw3Yq0 48gAn1hlDdzYUX7BFRTSjsASJBglASz9 =qUus -----END PGP SIGNATURE----- --------------enig5A627A46DBDF3F5780BF96E1--