aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/gallery3/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/gallery3/Makefile b/www/gallery3/Makefile
index 44c1f765d446..e78201608827 100644
--- a/www/gallery3/Makefile
+++ b/www/gallery3/Makefile
@@ -50,7 +50,11 @@ RUN_DEPENDS+= gm:${PORTSDIR}/graphics/GraphicsMagick
.endif
.if ${PORT_OPTIONS:MIMAGEMAGICK}
-RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick
+.if !defined(WITHOUT_X11)
+RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick
+.else
+RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick-nox11
+.endif
.endif
.if ${PORT_OPTIONS:MJHEAD}