pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/swfdec conditionally propagate pulseaudio d...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6cb2af9136fd
branches:  trunk
changeset: 569930:6cb2af9136fd
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Wed Jan 20 19:09:00 2010 +0000

description:
conditionally propagate pulseaudio dependency, should fix
PR pkg/42652 by Joachim Kuebart

diffstat:

 multimedia/swfdec/Makefile      |  4 +---
 multimedia/swfdec/buildlink3.mk |  8 +++++++-
 2 files changed, 8 insertions(+), 4 deletions(-)

diffs (40 lines):

diff -r e44df1d2cf03 -r 6cb2af9136fd multimedia/swfdec/Makefile
--- a/multimedia/swfdec/Makefile        Wed Jan 20 17:24:57 2010 +0000
+++ b/multimedia/swfdec/Makefile        Wed Jan 20 19:09:00 2010 +0000
@@ -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 @@
 .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 -r e44df1d2cf03 -r 6cb2af9136fd multimedia/swfdec/buildlink3.mk
--- a/multimedia/swfdec/buildlink3.mk   Wed Jan 20 17:24:57 2010 +0000
+++ b/multimedia/swfdec/buildlink3.mk   Wed Jan 20 19:09:00 2010 +0000
@@ -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_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"



Home | Main Index | Thread Index | Old Index