summaryrefslogtreecommitdiff
path: root/emulators/mtools
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>2001-04-16 01:31:16 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>2001-04-16 01:31:16 +0000
commit2dbe3cb4e70b88cdc6f5d8fd423a7d9c9fdd985b (patch)
tree36aa4b7c5c462f3a14ad9835cef690b1b94a8631 /emulators/mtools
parentMove distfile to MASTER_SITE_LOCAL as the author's site has been down for (diff)
Use !defined(NO_X) instead of defined(WITH_X11)
Some ports use WITH_X11, some other WITHOUT_X11 or WITHOUT_X but it seems that only NO_X is documented and can be set in make.conf
Notes
Notes: svn path=/head/; revision=41445
Diffstat (limited to 'emulators/mtools')
-rw-r--r--emulators/mtools/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/emulators/mtools/Makefile b/emulators/mtools/Makefile
index 962fd68de8bf..022552593206 100644
--- a/emulators/mtools/Makefile
+++ b/emulators/mtools/Makefile
@@ -19,7 +19,7 @@ PATCH_DIST_STRIP= -p1
MAINTAINER= jmz@FreeBSD.org
GNU_CONFIGURE= yes
-.if defined(WITH_X11)
+.if !defined(NO_X)
USE_XLIB= yes
CONFIGURE_ARGS= --enable-xdf --enable-floppyd
PLIST= pkg-plist.x11
@@ -35,7 +35,7 @@ MAN1= mattrib.1 mbadblocks.1 mcat.1 mcd.1 mcopy.1 mdel.1 mdeltree.1 \
mtoolstest.1 mtools.1 mtype.1 mzip.1
MAN5= mtools.5
-.if defined(WITH_X11)
+.if !defined(NO_X)
MAN1+= floppyd.1 floppyd_installtest.1
.endif