Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Sep 2003 10:36:04 +0000
From:      Jens Rehsack <rehsack@liwing.de>
To:        Antoine Jacoutot <ajacoutot@lphp.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: configure args in ports
Message-ID:  <3F62F314.6020907@liwing.de>
In-Reply-To: <200309131225.33182.ajacoutot@lphp.org>
References:  <200309131152.07087.ajacoutot@lphp.org> <3F62EB0F.6020100@liwing.de> <200309131225.33182.ajacoutot@lphp.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Antoine Jacoutot wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Saturday 13 September 2003 12:01, Jens Rehsack wrote:
> 
>>>How can I pass configure arguments to a port without editing the Makefile
>>>? Is there something like:
>>>make -DOPTION1 -DOPTION2 CONFIGURE_ARGS="--with_option3" install clean ?
>>
>>see env(1)
> 
> 
> OK, nice.
> So it means:
> $ env CONFIGURE_ARGS+=--with-option3 make -DOPTION2 install clean
> 
> would work, right ?

Nope,
$ env CONFIGURE_ARGS=--with-option3 OPTION2=yes make install clean
would work fine as well as
$ env CONFIGURE_ARGS=--with-option3 make -DOPTION2 install clean
would as well as
$ make -DCONFIGURE_ARGS=--with-option3 -DOPTION2 install clean
should, too.

I prefer the first :-)

Best,
Jens



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