diff options
author | minskim <minskim> | 2006-07-10 00:56:25 +0000 |
---|---|---|
committer | minskim <minskim> | 2006-07-10 00:56:25 +0000 |
commit | ddebbd1d7bc663ed287315a46375321cdfa84584 (patch) | |
tree | 1503451274eb0da8b273aa3825b3baa80c7a77f8 /audio/cmus/Makefile | |
parent | faf29ae1b4a7838218b8f3a532bd08f08666902c (diff) | |
download | pkgsrc-ddebbd1d7bc663ed287315a46375321cdfa84584.tar.gz |
Fix PLIST on platforms without sys/audioio.h, where sun.so is not built.
Diffstat (limited to 'audio/cmus/Makefile')
-rw-r--r-- | audio/cmus/Makefile | 8 |
1 files changed, 7 insertions, 1 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 |