summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhans <hans>2011-04-21 15:01:56 +0000
committerhans <hans>2011-04-21 15:01:56 +0000
commit8a9f11cf21319d18c2d1e2a1f8dbd10debf0177d (patch)
tree5ee662445656dd0566ee73b33db87e302895f435
parenta71cf3270fe87a957b7b3a8d7bd6113b264de091 (diff)
downloadpkgsrc-8a9f11cf21319d18c2d1e2a1f8dbd10debf0177d.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