1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

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
This commit is contained in:
Jean-Marc Zucconi 2001-04-16 01:31:16 +00:00
parent 832e488520
commit 2dbe3cb4e7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=41445

View File

@ -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