aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/autotrace/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/autotrace/Makefile b/graphics/autotrace/Makefile
index fc60e43015ac..6924a25ad32b 100644
--- a/graphics/autotrace/Makefile
+++ b/graphics/autotrace/Makefile
@@ -41,10 +41,14 @@ CONFIGURE_ARGS+= --without-magick
.if ${PORT_OPTIONS:MMING}
LIB_DEPENDS+= ming:${PORTSDIR}/graphics/ming
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/ming
+.else
+CONFIGURE_ENV+= ac_cv_header_ming_h=no
.endif
.if ${PORT_OPTIONS:MPSTOEDIT}
LIB_DEPENDS+= pstoedit:${PORTSDIR}/graphics/pstoedit
+.else
+CONFIGURE_ARGS+= --without-pstoedit
.endif
post-patch: