Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Aug 2014 01:08:29 +0400
From:      Andrej Zverev <andrej.zverev@gmail.com>
To:        olli hauer <ohauer@gmx.de>
Cc:        Olli Hauer <ohauer@freebsd.org>, perl <perl@freebsd.org>
Subject:   Re: Mk/Uses/perl.mk possible regression
Message-ID:  <CAD5bB%2Bh-nvfxTdP8Dr6aXqL51MPUyND0=ii3gxT-SkCFJv3hAA@mail.gmail.com>
In-Reply-To: <53F10B75.20405@gmx.de>
References:  <53F0F536.9000708@gmx.de> <CAD5bB%2Bj3skU7D5N39mKzmcTbb2MV3eoRxzL_f9SYtT2V1CKJRA@mail.gmail.com> <53F10B75.20405@gmx.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Well. To be clear. Let think if you have "run build" by default. Now
you added fixpacklist and everything is good as you expected. But now
you want remove "build".. but but you can't :-) thats is why such
logic there.
I think most part have such logic.

On Mon, Aug 18, 2014 at 12:07 AM, olli hauer <ohauer@gmx.de> wrote:
> On 2014-08-17 21:00, Andrej Zverev wrote:
>> FOO = #nothing
>> FOO+= something
>> = something
>>
>> so if USE_PERL5 = #nothing it will be "run build" by default, since
>> you overriding in before .mk file you need explicitly declare
>> second part. Like USE_PERL5= run build fixpacklist or USE_PERL5= run
>> build and USE_PERL5+= fixpacklist.
>>
>> You can always check via make -VUSE_PERL5 what you'll get.
>
> Indeed this will do the trick, I haven't expect this is required.
>
> --
> olli



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAD5bB%2Bh-nvfxTdP8Dr6aXqL51MPUyND0=ii3gxT-SkCFJv3hAA>