Date: Fri, 24 Aug 2007 15:31:36 +0200 From: Roland Smith <rsmith@xs4all.nl> To: Adam J Richardson <fatman@crackmonkey.us> Cc: roberthuff@rcn.com, Michael S <msherman77@yahoo.com>, FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: portupgrade and make options Message-ID: <20070824133136.GA64358@slackbox.xs4all.nl> In-Reply-To: <46CED750.5020609@crackmonkey.us> References: <990894.14555.qm@web88302.mail.re4.yahoo.com> <46CED750.5020609@crackmonkey.us>
next in thread | previous in thread | raw e-mail | index | archive | help
--/9DWx/yDrRhgMJTb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 24, 2007 at 02:04:16PM +0100, Adam J Richardson wrote: > Michael S wrote: >> Thanks a lot. >> By the way, will it attempt to use -j4 for make >> install? >=20 > Should do, yes. Robert Huff is correct when he says this will affect=20 > everything using make. I can't think why that would be inappropriate, but= =20 > no doubt Robert has some scenarios in mind. >=20 > I'm too unsophisticated for the 'scalpel' approach. I still wield 'Club o= f=20 > Noobiness +3'. :P Fortunately, there is a way to turn the axe into a scalpel. :-) You can put stuff in make.conf so that it will only affect the ports you want. Like this; =2Eif ${.CURDIR:M*/multimedia/mplayer} WITH_DVD_DEVICE=3D/dev/cd1 WITH_CDROM_DEVICE=3D/dev/cd1 =2Eendif If the directory where make is invoked from ends in /multimedia/mplayer, the variables inside the if-block will be set. This works well because every update utility in the end invokes make to build the port. 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) --/9DWx/yDrRhgMJTb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFGzt24EnfvsMMhpyURAl6hAJ48/Q6zyQ8GHOejhsoNBYsgzVu+HQCfZnUo Ll9cLwRyLXrt2s3t1vWOaRA= =iqDy -----END PGP SIGNATURE----- --/9DWx/yDrRhgMJTb--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070824133136.GA64358>