Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Mar 2006 00:33:44 +0100
From:      RW <list-freebsd-2004@morbius.sent.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: portupgrade MAKE_ARGS inheritance bug
Message-ID:  <200603270033.45689.list-freebsd-2004@morbius.sent.com>
In-Reply-To: <cb5206420603251215v471d51fanb156c3df1f0eddaf@mail.gmail.com>
References:  <cb5206420603251215v471d51fanb156c3df1f0eddaf@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 25 March 2006 20:15, Andrew Pantyukhin wrote:
> If MAKE_ARGS is set for a port and you try to portinstall
> it for example, then the same MAKE_ARGS are used
> for the ports installed as dependencies.
>
> In my case I have this in my pkgtools.conf:
> MAKE_ARGS = {
>     'mldonkey*' => [
>       'CONFIGURE_ARGS="--disable-gnutella"',
>     ],
>   }
>
> When I tried to install mldonkey, portupgrade tried to
> install ocaml with the same CONFIGURE_ARGS. It
> failed. I had to install it separately.

I presume it's because portupgrade/portinstall built  mldonkey, and the ports 
system itself built ocaml as a missing dependency (I think it's a build 
dependency in this case).

It only happens the first time, on upgrades,  ocaml will be in the package 
database, and and will be upgraded by portupgrade with it's own configured 
options.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603270033.45689.list-freebsd-2004>