Is the :u behaves normal or not (a bug) in the make?
- From: Jeremy Messenger <mezz.freebsd@xxxxxxxxx>
- Date: Thu, 26 Jul 2012 15:11:49 -0500
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
-----------------------------
Thanks,
Mezz
--
mezz.freebsd@xxxxxxxxx - mezz@xxxxxxxxxxx
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gnome@xxxxxxxxxxx
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Is the :u behaves normal or not (a bug) in the make?
- From: Olli Hauer
- Re: Is the :u behaves normal or not (a bug) in the make?
- From: Jeremy Messenger
- Re: Is the :u behaves normal or not (a bug) in the make?
- Prev by Date: Re: panic: _mtx_lock_sleep: recursed on non-recursive mutex em0 @ /usr/src/sys/dev/e1000/if_lem.c:881
- Next by Date: Re: Is the :u behaves normal or not (a bug) in the make?
- Previous by thread: panic: _mtx_lock_sleep: recursed on non-recursive mutex em0 @ /usr/src/sys/dev/e1000/if_lem.c:881
- Next by thread: Re: Is the :u behaves normal or not (a bug) in the make?
- Index(es):
Relevant Pages
|