Date: Thu, 26 Jul 2012 15:15:54 -0500 From: Jeremy Messenger <mezz.freebsd@gmail.com> To: freebsd-current@freebsd.org Subject: Re: Is the :u behaves normal or not (a bug) in the make? Message-ID: <CADLFttfyAobH2gsjx3xxRuA1ByQ0V3LxUwP2kyjDs3xniupm4g@mail.gmail.com> In-Reply-To: <CADLFttc=xzyJb-GpW4AbaLpNCEeCn1JywG_iztkpWTZAifycmQ@mail.gmail.com> References: <CADLFttc=xzyJb-GpW4AbaLpNCEeCn1JywG_iztkpWTZAifycmQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 26, 2012 at 3:11 PM, Jeremy Messenger
<mezz.freebsd@gmail.com> wrote:
> Hello all,
>
> While I was working on add the :build/:run feature in the
> bsd.gnome.mk. I got a bug where it will running some dependencies got
> duplicate. Thanks to the make(1) that shows me the :u feature to get
> rid of the duplicates. But it doesn't exactly help unless I use the :O
> to get the words in order to make the :u works. I am not sure if it's
> just limited on how it works (normal) or it's a bug. Here's an example
> test:
>
> -----------------------------
> USE_TEST= foo bar bar foobar foo
> USE_TEST1= foo bar bar foobar foo
>
> test:
> @${ECHO_CMD} "USE_TEST: " ${USE_TEST:u}
> @${ECHO_CMD} "USE_TEST1: " ${USE_TEST1:O:u}
> -----------------------------
>
> Here's result:
> -----------------------------
> # make test
> USE_TEST: foo bar foobar foo
> USE_TEST1: bar foo foobar
> -----------------------------
BTW:
# uname -a
FreeBSD outlaws.localhost 9.0-STABLE FreeBSD 9.0-STABLE #0: Sat Mar 31
12:43:40 CDT 2012
mezz@outlaws.localhost:/usr/obj/usr/src/sys/GENERIC amd64
> Thanks,
> Mezz
--
mezz.freebsd@gmail.com - mezz@FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLFttfyAobH2gsjx3xxRuA1ByQ0V3LxUwP2kyjDs3xniupm4g>
