summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2011-04-21 15:01:56 +0000
committerhans <hans@pkgsrc.org>2011-04-21 15:01:56 +0000
commit230c1f46849332430e39f5194672518560242b86 (patch)
tree5ee662445656dd0566ee73b33db87e302895f435
parent5a2cb4979b75dff47008024673a7db298c09c23e (diff)
downloadpkgsrc-230c1f46849332430e39f5194672518560242b86.tar.gz
Fix build on SunOS.
Configure does not enable the sun output plugin, which requires BSD extensions and wouldn't work anyway. But we can use the oss plugin, recent SunOS versions support OSS.
-rw-r--r--audio/audacious-plugins/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/audio/audacious-plugins/Makefile b/audio/audacious-plugins/Makefile
index 06c0227600a..0eb92a65290 100644
--- a/audio/audacious-plugins/Makefile
+++ b/audio/audacious-plugins/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2011/01/13 13:36:58 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2011/04/21 15:01:56 hans Exp $
#
DISTNAME= audacious-plugins-1.5.1
@@ -57,7 +57,8 @@ PLIST.oss= yes
.elif ${OPSYS} == "DragonFly"
PLIST.oss= yes
.elif ${OPSYS} == "SunOS"
-PLIST.sun= yes
+CPPFLAGS.SunOS= -D__EXTENSIONS__ -D__uint32_t=uint32_t -D__uint64_t=uint64_t
+PLIST.oss= yes
#.elif ${OPSYS} == "Linux"
#. include "../../wip/alsa-lib/buildlink3.mk"
#PKG_SUPPORTED_OPTIONS+= lirc