pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/cmus Fix PLIST on platforms without sys/audioio....
details: https://anonhg.NetBSD.org/pkgsrc/rev/2103b0997cb9
branches: trunk
changeset: 515856:2103b0997cb9
user: minskim <minskim%pkgsrc.org@localhost>
date: Mon Jul 10 00:56:25 2006 +0000
description:
Fix PLIST on platforms without sys/audioio.h, where sun.so is not built.
diffstat:
audio/cmus/Makefile | 8 +++++++-
audio/cmus/PLIST | 4 ++--
2 files changed, 9 insertions(+), 3 deletions(-)
diffs (40 lines):
diff -r 6c5d32cb7b94 -r 2103b0997cb9 audio/cmus/Makefile
--- a/audio/cmus/Makefile Mon Jul 10 00:34:59 2006 +0000
+++ b/audio/cmus/Makefile Mon Jul 10 00:56:25 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/07/08 04:31:28 ben Exp $
+# $NetBSD: Makefile,v 1.2 2006/07/10 00:56:25 minskim Exp $
#
DISTNAME= cmus-2.0.3
@@ -22,6 +22,12 @@
CONFIGURE_ARGS+= CONFIG_FLAC=y
CONFIGURE_ARGS+= mandir=${PREFIX}/man/
+.if exists(/usr/include/sys/audioio.h)
+PLIST_SUBST+= SUN=""
+.else
+PLIST_SUBST+= SUN="@comment "
+.endif
+
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
CONFIGURE_ARGS+= CONFIG_SUN=y
diff -r 6c5d32cb7b94 -r 2103b0997cb9 audio/cmus/PLIST
--- a/audio/cmus/PLIST Mon Jul 10 00:34:59 2006 +0000
+++ b/audio/cmus/PLIST Mon Jul 10 00:56:25 2006 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2006/07/08 04:31:28 ben Exp $
+@comment $NetBSD: PLIST,v 1.2 2006/07/10 00:56:25 minskim Exp $
bin/cmus
bin/cmus-remote
lib/cmus/ip/flac.so
@@ -7,7 +7,7 @@
lib/cmus/ip/wav.so
lib/cmus/op/ao.so
lib/cmus/op/oss.so
-lib/cmus/op/sun.so
+${SUN}lib/cmus/op/sun.so
man/man1/cmus-remote.1
man/man1/cmus.1
share/cmus/cyan.theme
Home |
Main Index |
Thread Index |
Old Index