From 2dbe3cb4e70b88cdc6f5d8fd423a7d9c9fdd985b Mon Sep 17 00:00:00 2001 From: Jean-Marc Zucconi Date: Mon, 16 Apr 2001 01:31:16 +0000 Subject: 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 --- emulators/mtools/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'emulators/mtools') 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 -- cgit v1.2.3