aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/pecl-imagick/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/pecl-imagick/Makefile b/graphics/pecl-imagick/Makefile
index eaa932cfdd3b..b8c1eff4783c 100644
--- a/graphics/pecl-imagick/Makefile
+++ b/graphics/pecl-imagick/Makefile
@@ -17,7 +17,11 @@ DIST_SUBDIR= PECL
MAINTAINER= mm@FreeBSD.org
COMMENT= Provides a wrapper to the ImageMagick/GraphicsMagick library
+.if !defined(WITHOUT_X11)
LIB_DEPENDS= MagickWand.5:${PORTSDIR}/graphics/ImageMagick
+.else
+LIB_DEPENDS= MagickWand.5:${PORTSDIR}/graphics/ImageMagick-nox11
+.endif
LICENSE= PHP301