Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Dec 2011 15:22:30 +0200
From:      "Andrew W. Nosenko" <andrew.w.nosenko@gmail.com>
To:        bf1783@gmail.com
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Building ports with gcc46
Message-ID:  <CALa-7vxfRwhqRcQPATtumfv6YPA5HZ==VqGRKcZw-V2pzJXYPA@mail.gmail.com>
In-Reply-To: <CAGFTUwO_mXzUcsWTvn01=uxGg1CgXratdQKDbUYxR-06bha5zg@mail.gmail.com>
References:  <CAGFTUwO_mXzUcsWTvn01=uxGg1CgXratdQKDbUYxR-06bha5zg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 15, 2011 at 02:05, b. f. <bf1783@googlemail.com> wrote:
> If you are interested in applying them to a single port, use a test on .CURDIR,
> or, better yet, add the statement to any of the optional Makefiles that are
> automatically included by bsd.port.mk and were intended for that purpose --
> ${MASTERDIR}/Makefile.local, for example.

Unfortunatelly, the Makefile.local included too late for have any
positive/intended effect (e.g. define port-specific WITH/WITHOUT knob,
modify CONFIGURE_ARGS,...) in many cases/ports.  Therefore, advise to
use Makefile.local is unreliable.  And we left in situation, where
make.conf is the only one reasonable working solution :-(

But yes, it should be properly conditionalized by .if/.endif

-- 
Andrew W. Nosenko <andrew.w.nosenko@gmail.com>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALa-7vxfRwhqRcQPATtumfv6YPA5HZ==VqGRKcZw-V2pzJXYPA>