Skip site navigation (1)Skip section navigation (2)
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>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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?
> 
> Should do, yes. Robert Huff is correct when he says this will affect 
> everything using make. I can't think why that would be inappropriate, but 
> no doubt Robert has some scenarios in mind.
> 
> I'm too unsophisticated for the 'scalpel' approach. I still wield 'Club of 
> 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;

.if ${.CURDIR:M*/multimedia/mplayer}
WITH_DVD_DEVICE=/dev/cd1
WITH_CDROM_DEVICE=/dev/cd1
.endif

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
-- 
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)

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFGzt24EnfvsMMhpyURAl6hAJ48/Q6zyQ8GHOejhsoNBYsgzVu+HQCfZnUo
Ll9cLwRyLXrt2s3t1vWOaRA=
=iqDy
-----END PGP SIGNATURE-----
help

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