summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2010-01-20 19:09:00 +0000
committerdrochner <drochner@pkgsrc.org>2010-01-20 19:09:00 +0000
commit235fcb0b02426c7128e2bcde382ecc7193d78c20 (patch)
treef02fe99fd146dc8ac6371a66d49774e4c5cd4666 /multimedia
parentc6d21e9737038b9540cdad21e5ee8f2ba0953500 (diff)
downloadpkgsrc-235fcb0b02426c7128e2bcde382ecc7193d78c20.tar.gz
conditionally propagate pulseaudio dependency, should fix
PR pkg/42652 by Joachim Kuebart
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/swfdec/Makefile4
-rw-r--r--multimedia/swfdec/buildlink3.mk8
2 files changed, 8 insertions, 4 deletions
diff --git a/multimedia/swfdec/Makefile b/multimedia/swfdec/Makefile
index 04d6bbdfb4c..63899b7563a 100644
--- a/multimedia/swfdec/Makefile
+++ b/multimedia/swfdec/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2009/08/26 19:56:54 sno Exp $
+# $NetBSD: Makefile,v 1.15 2010/01/20 19:09:00 drochner Exp $
#
DISTNAME= swfdec-0.8.4
@@ -33,8 +33,6 @@ PKG_SUGGESTED_OPTIONS= pulseaudio
.if !empty(PKG_OPTIONS:Mpulseaudio)
CONFIGURE_ARGS+= --with-audio=pulse
.include "../../audio/pulseaudio/buildlink3.mk"
-.include "../../databases/gdbm/buildlink3.mk"
-.include "../../x11/libSM/buildlink3.mk"
.else
CONFIGURE_ARGS+= --with-audio=none
.endif
diff --git a/multimedia/swfdec/buildlink3.mk b/multimedia/swfdec/buildlink3.mk
index 1ca7e2cbfa3..a1a26515472 100644
--- a/multimedia/swfdec/buildlink3.mk
+++ b/multimedia/swfdec/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.16 2009/08/26 19:56:54 sno Exp $
+# $NetBSD: buildlink3.mk,v 1.17 2010/01/20 19:09:00 drochner Exp $
BUILDLINK_TREE+= swfdec
@@ -9,6 +9,12 @@ BUILDLINK_API_DEPENDS.swfdec+= swfdec>=0.8.2
BUILDLINK_ABI_DEPENDS.swfdec?= swfdec>=0.8.4nb2
BUILDLINK_PKGSRCDIR.swfdec?= ../../multimedia/swfdec
+pkgbase := swfdec
+.include "../../mk/pkg-build-options.mk"
+.if !empty(PKG_BUILD_OPTIONS.swfdec:Mpulseaudio)
+.include "../../audio/pulseaudio/buildlink3.mk"
+.endif
+
.include "../../devel/liboil/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"