pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/bmp Avoid using != to set RAWPART all of the tim...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/30d9f1ec0eeb
branches:  trunk
changeset: 493169:30d9f1ec0eeb
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Apr 28 22:16:31 2005 +0000

description:
Avoid using != to set RAWPART all of the time... we can defer it using :sh
to whenever CONFIGURE_ARGS is used.

diffstat:

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

diffs (22 lines):

diff -r 4ad049bceeb2 -r 30d9f1ec0eeb audio/bmp/Makefile.common
--- a/audio/bmp/Makefile.common Thu Apr 28 21:58:44 2005 +0000
+++ b/audio/bmp/Makefile.common Thu Apr 28 22:16:31 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.9 2005/04/11 21:44:51 tv Exp $
+# $NetBSD: Makefile.common,v 1.10 2005/04/28 22:16:31 jlam Exp $
 #
 
 DISTNAME=      bmp-0.9.7
@@ -46,9 +46,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/
 
 post-extract:



Home | Main Index | Thread Index | Old Index