pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/xmms Avoid using != to set RAWPART -- defer usin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ea9d2f00ed42
branches:  trunk
changeset: 493171:ea9d2f00ed42
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Apr 28 22:23:43 2005 +0000

description:
Avoid using != to set RAWPART -- defer using :sh.  This avoids executing
the same command every time make is invoked.

diffstat:

 audio/xmms/Makefile.common |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r 6ae6f16a9184 -r ea9d2f00ed42 audio/xmms/Makefile.common
--- a/audio/xmms/Makefile.common        Thu Apr 28 22:21:52 2005 +0000
+++ b/audio/xmms/Makefile.common        Thu Apr 28 22:23:43 2005 +0000
@@ -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 @@
 .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
 



Home | Main Index | Thread Index | Old Index