aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2014-04-13 16:26:10 +0800
committerdinoex <dinoex@FreeBSD.org>2014-04-13 16:26:10 +0800
commit733f61fff2772feddad20ab4731900497b8c848d (patch)
treeb42594001be5e814235d763a9b278b59eec48dde
parent147d8db03893d2ef6ab32670fb1ad4b60a6d99c0 (diff)
downloadfreebsd-ports-gnome-733f61fff2772feddad20ab4731900497b8c848d.tar.gz
freebsd-ports-gnome-733f61fff2772feddad20ab4731900497b8c848d.tar.zst
freebsd-ports-gnome-733f61fff2772feddad20ab4731900497b8c848d.zip
- option PANGOCAIRO is required for option GHOSTSCRIPT
Reported by: Andrzej Tobola
-rw-r--r--graphics/graphviz/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/graphviz/Makefile b/graphics/graphviz/Makefile
index 491cc29a8bd9..4bbd8a56c5be 100644
--- a/graphics/graphviz/Makefile
+++ b/graphics/graphviz/Makefile
@@ -69,7 +69,7 @@ SMYRNA_DESC= SMYRNA graph viewer (requires GTK2)
GVEDIT_DESC= gvedit (requires qt)
MING_DESC= ming plugin
DEVIL_DESC= devil plugin
-GHOSTSCRIPT_DESC=ghostscript plugin
+GHOSTSCRIPT_DESC=ghostscript plugin (requires PANGOCAIRO)
PERL_DESC= Perl bindings (swig)
PHP_DESC= PHP bindings (swig)
PYTHON_DESC= Python bindings (swig)
@@ -200,6 +200,12 @@ IGNORE= option PANGOCAIRO is required for option LIBRVG2
.endif
.endif
+.if ${PORT_OPTIONS:MGHOSTSCRIPT}
+.if empty(PORT_OPTIONS:MPANGOCAIRO)
+IGNORE= option PANGOCAIRO is required for option GHOSTSCRIPT
+.endif
+.endif
+
.if ${PORT_OPTIONS:MGTK2}
.if empty(PORT_OPTIONS:MPANGOCAIRO)
IGNORE= option PANGOCAIRO is required for option GTK2