diff options
author | minskim <minskim@pkgsrc.org> | 2006-07-10 00:56:25 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2006-07-10 00:56:25 +0000 |
commit | 9aa147c23e8088e398cf7a07cd6ab47b14be3fca (patch) | |
tree | 1503451274eb0da8b273aa3825b3baa80c7a77f8 /audio/cmus | |
parent | 28be5ae1b516cf53990ddf92a7c350a0396e46f1 (diff) | |
download | pkgsrc-9aa147c23e8088e398cf7a07cd6ab47b14be3fca.tar.gz |
Fix PLIST on platforms without sys/audioio.h, where sun.so is not built.
Diffstat (limited to 'audio/cmus')
-rw-r--r-- | audio/cmus/Makefile | 8 | ||||
-rw-r--r-- | audio/cmus/PLIST | 4 |
2 files changed, 9 insertions, 3 deletions
diff --git a/audio/cmus/Makefile b/audio/cmus/Makefile index 6daa7b18e66..bd8a5eb2dea 100644 --- a/audio/cmus/Makefile +++ b/audio/cmus/Makefile @@ -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_AO=y 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 --git a/audio/cmus/PLIST b/audio/cmus/PLIST index 7e4a88dc670..3611f871d62 100644 --- a/audio/cmus/PLIST +++ b/audio/cmus/PLIST @@ -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/vorbis.so 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 |