summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjmcneill <jmcneill@pkgsrc.org>2008-12-18 16:53:01 +0000
committerjmcneill <jmcneill@pkgsrc.org>2008-12-18 16:53:01 +0000
commit9fca3a7139417860a4bdd6b6ae8023d3209b6b1b (patch)
tree0c8015bce5340786638b563ad69c258e411ed45e /devel
parent246d0402ca433913b036667c9fc5186e3fa2cb88 (diff)
downloadpkgsrc-9fca3a7139417860a4bdd6b6ae8023d3209b6b1b.tar.gz
Enable pulseaudio driver, bump PKGREVISION.
Diffstat (limited to 'devel')
-rw-r--r--devel/SDL/Makefile4
-rw-r--r--devel/SDL/options.mk13
2 files changed, 12 insertions, 5 deletions
diff --git a/devel/SDL/Makefile b/devel/SDL/Makefile
index a766283943b..58f33ce5e1c 100644
--- a/devel/SDL/Makefile
+++ b/devel/SDL/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.83 2008/10/13 17:15:44 reinoud Exp $
+# $NetBSD: Makefile,v 1.84 2008/12/18 16:53:01 jmcneill Exp $
DISTNAME= SDL-1.2.13
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= devel games
MASTER_SITES= http://www.libsdl.org/release/
diff --git a/devel/SDL/options.mk b/devel/SDL/options.mk
index 15950ae9d2c..35a9329e3c3 100644
--- a/devel/SDL/options.mk
+++ b/devel/SDL/options.mk
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.2 2006/06/15 09:45:05 adam Exp $
+# $NetBSD: options.mk,v 1.3 2008/12/18 16:53:01 jmcneill Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.SDL
-PKG_SUPPORTED_OPTIONS= aalib arts esound nas
-PKG_SUGGESTED_OPTIONS= aalib arts esound nas
+PKG_SUPPORTED_OPTIONS= aalib arts esound nas pulseaudio
+PKG_SUGGESTED_OPTIONS= aalib arts esound nas pulseaudio
.include "../../mk/bsd.options.mk"
@@ -31,3 +31,10 @@ CONFIGURE_ARGS+= --enable-nas
.else
CONFIGURE_ARGS+= --disable-nas
.endif
+
+.if !empty(PKG_OPTIONS:Mpulseaudio)
+# for some reason --enable-pulseaudio disables the
+# configure check
+#CONFIGURE_ARGS+= --enable-pulseaudio
+.include "../../audio/pulseaudio/buildlink3.mk"
+.endif