aboutsummaryrefslogtreecommitdiff
path: root/devel/doxygen
diff options
context:
space:
mode:
Diffstat (limited to 'devel/doxygen')
-rw-r--r--devel/doxygen/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/doxygen/Makefile b/devel/doxygen/Makefile
index e775664fa98b..57951618ecb4 100644
--- a/devel/doxygen/Makefile
+++ b/devel/doxygen/Makefile
@@ -26,7 +26,9 @@ BUILD_DEPENDS+= dot:${PORTSDIR}/graphics/graphviz
.if !defined(WITHOUT_LATEX)
ALL_TARGET+= pdf
PLIST_SUB+= HAVE_LATEX=""
-BUILD_DEPENDS+= latex:${PORTSDIR}/print/teTeX
+GSPORT?= print/ghostscript-gnu
+BUILD_DEPENDS+= latex:${PORTSDIR}/print/teTeX \
+ gs:${PORTSDIR}/${GSPORT}
MAKE_ARGS+= HAVE_LATEX=yes
.else # !defined(WITHOUT_LATEX)
PLIST_SUB+= HAVE_LATEX="@comment "