Date: Sun, 27 Apr 2008 01:19:57 +0200 From: Roland Smith <rsmith@xs4all.nl> To: Grant Peel <gpeel@thenetnow.com> Cc: freebsd-questions@freebsd.org Subject: Re: Ports Question Message-ID: <20080426231957.GA90187@slackbox.xs4all.nl> In-Reply-To: <000b01c8a7e1$39c74520$6501a8c0@GRANT> References: <000b01c8a7e1$39c74520$6501a8c0@GRANT>
next in thread | previous in thread | raw e-mail | index | archive | help
--gBBFr7Ir9EOA20Yy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 26, 2008 at 04:40:58PM -0400, Grant Peel wrote: > Hi all, >=20 > What is the proper method to pass configure arguments when installing a= =20 > port? While you can supply arguments on the command line, it is hard to remember. Therefore I think it is best to set arguments in make.conf. For example; ---------- make.conf excerpt ---------- =2Eif ${.CURDIR:M*/graphics/xpdf} A4=3Dyes =2Eendif =2Eif ${.CURDIR:M*/mail/mutt-devel} WITH_MUTT_SLANG2=3Dyes WITHOUT_MUTT_HTML=3Dyes=20 WITHOUT_MUTT_XML=3Dyes=20 WITHOUT_MUTT_COMPRESSED_FOLDERS=3Dyes=20 WITHOUT_NLS=3Dyes=20 NOPORTDOCS=3Dyes =2Eendif =2Eif ${.CURDIR:M*/print/cups*} CUPS_OVERWRITE_BASE=3Dtrue =2Eendif ---------- make.conf excerpt ---------- The '.if' statement ensures that the variables are only set when make is called from the praticular port direction. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --gBBFr7Ir9EOA20Yy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iEYEARECAAYFAkgTuJ0ACgkQEnfvsMMhpyWl7gCfQS705HNJc3q/NdfCo7lG3w9F OesAoI+hDVNiCmpB1D9+9fRBYHF37eW5 =WraP -----END PGP SIGNATURE----- --gBBFr7Ir9EOA20Yy--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080426231957.GA90187>