aboutsummaryrefslogtreecommitdiff
path: root/graphics/xfig
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xfig')
-rw-r--r--graphics/xfig/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/xfig/Makefile b/graphics/xfig/Makefile
index 06426d673902..6b06f0229ab0 100644
--- a/graphics/xfig/Makefile
+++ b/graphics/xfig/Makefile
@@ -31,13 +31,13 @@ INSTALL_TARGET= install install.all
.endif
pre-fetch:
-.if !defined(NO_GSBIT)
+.if !defined(WITHOUT_GHOSTSCRIPT)
@${ECHO_MSG} "To build this port without Ghostscript support,"
@${ECHO_MSG} "define \"NO_GSBIT\"."
.endif
post-patch:
-.if defined(NO_GSBIT)
+.if defined(WITHOUT_GHOSTSCRIPT)
@${PERL} -pi -e 's|-DGSBIT ||g' ${WRKSRC}/Imakefile
.endif