summaryrefslogtreecommitdiff
path: root/print/ghostscript-gpl
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-06-05 11:38:35 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-06-05 11:38:35 +0000
commit400f4557f621dbddf5da9a9c3f672d54d04cd85a (patch)
tree62415c090168bbbce63fa6ac99b77ed4776e2edb /print/ghostscript-gpl
parentFix typo in comment. (diff)
Standartise the way used to disable X11 support in various ports. From now
on WITHOUT_X11 is the Only True Way[tm].
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