aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xfig-devel/Makefile4
-rw-r--r--graphics/xfig/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/graphics/xfig-devel/Makefile b/graphics/xfig-devel/Makefile
index 06426d673902..6b06f0229ab0 100644
--- a/graphics/xfig-devel/Makefile
+++ b/graphics/xfig-devel/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
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