diff options
author | jlam <jlam@pkgsrc.org> | 2005-04-28 22:23:43 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-04-28 22:23:43 +0000 |
commit | 24b4b49ccc295dc390df5898c0f87e7e444d8ca8 (patch) | |
tree | 040a59b48b21b3782f35e573961c1cf012feb129 /audio/xmms | |
parent | bb0934eb2f512e6bbc7540152b333759a51831db (diff) | |
download | pkgsrc-24b4b49ccc295dc390df5898c0f87e7e444d8ca8.tar.gz |
Avoid using != to set RAWPART -- defer using :sh. This avoids executing
the same command every time make is invoked.
Diffstat (limited to 'audio/xmms')
-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 |