diff options
author | jlam <jlam> | 2005-04-28 22:23:43 +0000 |
---|---|---|
committer | jlam <jlam> | 2005-04-28 22:23:43 +0000 |
commit | 8f7869c9077d5b6f9d7cc30390395927e25f6988 (patch) | |
tree | 040a59b48b21b3782f35e573961c1cf012feb129 | |
parent | 4a583a9c19ffbd09de6c6e7aedfe459e371e7375 (diff) | |
download | pkgsrc-8f7869c9077d5b6f9d7cc30390395927e25f6988.tar.gz |
Avoid using != to set RAWPART -- defer using :sh. This avoids executing
the same command every time make is invoked.
-rw-r--r-- | audio/xmms/Makefile.common | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/audio/xmms/Makefile.common b/audio/xmms/Makefile.common index 8e4d83f0afb..7bdcd6ee84c 100644 --- a/audio/xmms/Makefile.common +++ b/audio/xmms/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.15 2005/04/11 21:44:58 tv Exp $ +# $NetBSD: Makefile.common,v 1.16 2005/04/28 22:23:43 jlam Exp $ # DISTNAME= xmms-1.2.10 @@ -40,9 +40,9 @@ CONFIGURE_ARGS+= --enable-ipv6 .endif .if ${OPSYS} == "NetBSD" -RAWPART!= /sbin/sysctl -n kern.rawpartition | tr 0-9 a-j -CONFIGURE_ARGS+= --with-dev-dsp=${DEVOSSSOUND} \ - --with-cdda-device=/dev/rcd0${RAWPART} \ +RAWPART_cmd= /sbin/sysctl -n kern.rawpartition | ${TR} 0-9 a-j +CONFIGURE_ARGS+= --with-dev-dsp=${DEVOSSSOUND} \ + --with-cdda-device=/dev/rcd0${RAWPART_cmd:sh} \ --with-cdda-dir=/cdrom/ CPPFLAGS+= -DHAVE_NANOSLEEP=1 |