summaryrefslogtreecommitdiff
path: root/audio/xfce4-mixer
diff options
context:
space:
mode:
Diffstat (limited to 'audio/xfce4-mixer')
-rw-r--r--audio/xfce4-mixer/Makefile8
-rw-r--r--audio/xfce4-mixer/buildlink3.mk23
2 files changed, 27 insertions, 4 deletions
diff --git a/audio/xfce4-mixer/Makefile b/audio/xfce4-mixer/Makefile
index 50fad415c6b..92d3e240a0c 100644
--- a/audio/xfce4-mixer/Makefile
+++ b/audio/xfce4-mixer/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2004/03/10 07:41:16 martti Exp $
+# $NetBSD: Makefile,v 1.10 2004/03/10 11:53:37 xtraeme Exp $
.include "../../meta-pkgs/xfce4/Makefile.common"
@@ -6,7 +6,7 @@ DISTNAME= xfce4-mixer-${XFCE4_VERSION}
CATEGORIES= audio
COMMENT= XFce4 mixer plugin
-.include "../../devel/pkgconfig/buildlink2.mk"
-.include "../../textproc/libxml2/buildlink2.mk"
-.include "../../x11/xfce4-panel/buildlink2.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../x11/xfce4-panel/buildlink3.mk"
+.include "../../mk/ossaudio.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/xfce4-mixer/buildlink3.mk b/audio/xfce4-mixer/buildlink3.mk
new file mode 100644
index 00000000000..752135ff61e
--- /dev/null
+++ b/audio/xfce4-mixer/buildlink3.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/03/10 11:53:37 xtraeme Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+XFCE4_MIXER_BUILDLINK3_MK:= ${XFCE4_MIXER_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= xfce4-mixer
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-mixer}
+BUILDLINK_PACKAGES+= xfce4-mixer
+
+.if !empty(XFCE4_MIXER_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.xfce4-mixer+= xfce4-mixer>=4.0.4nb1
+BUILDLINK_PKGSRCDIR.xfce4-mixer?= ../../audio/xfce4-mixer
+
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../x11/xfce4-panel/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+
+.endif # XFCE4_MIXER_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}