summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2011-01-25 18:31:56 +0000
committerdrochner <drochner@pkgsrc.org>2011-01-25 18:31:56 +0000
commitb849f242f6b083d4416f409d395f5a66b3904002 (patch)
tree18a18c677e30ed9674d0ef2fad4f74b1e1a53ebf /graphics
parenta04fd02b0d9a04c0554d064ad1c45a8f4953f859 (diff)
downloadpkgsrc-b849f242f6b083d4416f409d395f5a66b3904002.tar.gz
propagate x11 dependency if necessary
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libwmf/buildlink3.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/libwmf/buildlink3.mk b/graphics/libwmf/buildlink3.mk
index 2c948164646..49f2ef7f930 100644
--- a/graphics/libwmf/buildlink3.mk
+++ b/graphics/libwmf/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.20 2011/01/13 13:36:12 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.21 2011/01/25 18:31:56 drochner Exp $
BUILDLINK_TREE+= libwmf
@@ -9,6 +9,12 @@ BUILDLINK_API_DEPENDS.libwmf+= libwmf>=0.2.8nb2
BUILDLINK_ABI_DEPENDS.libwmf+= libwmf>=0.2.8.4nb9
BUILDLINK_PKGSRCDIR.libwmf?= ../../graphics/libwmf
+pkgbase:= libwmf
+.include "../../mk/pkg-build-options.mk"
+.if !empty(PKG_BUILD_OPTIONS.libwmf:Mx11)
+.include "../../x11/libX11/buildlink3.mk"
+.endif
+
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"