summaryrefslogtreecommitdiff
path: root/print/ghostscript-gpl
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript-gpl')
-rw-r--r--print/ghostscript-gpl/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/print/ghostscript-gpl/Makefile b/print/ghostscript-gpl/Makefile
index 02ce82b3ff95..04c44f5ceb5b 100644
--- a/print/ghostscript-gpl/Makefile
+++ b/print/ghostscript-gpl/Makefile
@@ -40,12 +40,12 @@ LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png
WRKSRC= ${WRKDIR}/gs${PORTVERSION}
ALL_TARGET= all pcl3opts escputil
-.if !defined(NO_X)
+.if !defined(WITHOUT_X11)
USE_XLIB= yes
.else
-# XXX Hack. If you've done something like "-DNO_X" on the command line
-# (instead of NO_X=true, or similar) gmake won't pick it up. So make sure
-# that NO_X is defined *and* has a value.
+# XXX Hack. If you've done something like "-DWITHOUT_X11" on the command line
+# (instead of WITHOUT_X11=true, or similar) gmake won't pick it up. So make
+# sure that NO_X is defined *and* has a value.
MAKE_ENV+= NO_X=true
.endif