Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jan 2005 12:52:41 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Nikolas Britton <freebsd@nbritton.org>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Simple questions, MAKE_ARGS in pkgtools.conf
Message-ID:  <20050126105241.GB829@orion.daedalusnetworks.priv>
In-Reply-To: <41F70EC3.5000805@nbritton.org>
References:  <41F70EC3.5000805@nbritton.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-01-25 21:30, Nikolas Britton <freebsd@nbritton.org> wrote:
> Lets say I have BATCH=yes (/etc/make.conf) and I have a port with a
> menu that turns on some flags i.e.:
>
> OPTIONS=        DEBUG "Build a debugging image" off \
>                LOGGING "Enable additional log messages" off \
>                OPTIMIZED_CFLAGS "Enable some additional optimizations"
> off \
>                XFT "Enable support for anti-aliased fonts" on \
>                SMB "Enable smb:// URI support using gnomevfs" off
>
> If I do something like the following:
>
> MAKE_ARGS = {
> 'www/firefox' => 'WITH_OPTIMIZED_CFLAGS=yes CPUTYPE=p4',
> 'multimedia/gstreamer-*' => 'CPUTYPE=p2'
> }
>
> Will portupgrade only build the port with what I put in MAKE_ARGS or

Yes.

> will it just append it to the ports config?

Not sure about this.  AFAIK, MAKE_ARGS are passed as command line
options to Make when the port is built.  So, if passing them on the
command line works until now *and* saves them in the persistent port
options cache, it will work with portupgrade too.

- Giorgos



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