configure args in ports
Jens Rehsack
rehsack at liwing.de
Sat Sep 13 03:36:07 PDT 2003
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
More information about the freebsd-questions
mailing list