summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhans <hans>2011-02-26 13:18:24 +0000
committerhans <hans>2011-02-26 13:18:24 +0000
commit75f39d26200ec459ca2d316a9f557f3fdf5e57e2 (patch)
treebc4114528031160427532fdddb2193e172b2807b
parente50860cef49dc1e1d6354565879fbffac6d3d7d7 (diff)
downloadpkgsrc-75f39d26200ec459ca2d316a9f557f3fdf5e57e2.tar.gz
When using option djvu, include djvulibre in buildlink3.mk to avoid
link failures.
-rw-r--r--graphics/ImageMagick/buildlink3.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/ImageMagick/buildlink3.mk b/graphics/ImageMagick/buildlink3.mk
index 82288456fe4..0c89a7fe4c5 100644
--- a/graphics/ImageMagick/buildlink3.mk
+++ b/graphics/ImageMagick/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.33 2011/01/13 13:36:08 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.34 2011/02/26 13:18:24 hans Exp $
BUILDLINK_TREE+= ImageMagick
@@ -12,6 +12,9 @@ BUILDLINK_PKGSRCDIR.ImageMagick?= ../../graphics/ImageMagick
pkgbase := ImageMagick
.include "../../mk/pkg-build-options.mk"
+.if !empty(PKG_BUILD_OPTIONS.ImageMagick:Mdjvu)
+.include "../../graphics/djvulibre-lib/buildlink3.mk"
+.endif
.if !empty(PKG_BUILD_OPTIONS.ImageMagick:Mghostscript)
.include "../../print/ghostscript/buildlink3.mk"
.endif