Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2001 08:58:46 -0700
From:      Gregory Neil Shapiro <gshapiro@FreeBSD.org>
To:        "David E. O'Brien" <obrien@FreeBSD.org>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Turning off X11 support in ports
Message-ID:  <15080.17846.866318.148776@horsey.gshapiro.net>
In-Reply-To: <200104261536.f3QFapp64509@freefall.freebsd.org>
References:  <200104261536.f3QFapp64509@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
obrien> obrien      2001/04/26 08:36:50 PDT
obrien> Modified files:
obrien> editors/vim6         Makefile 
obrien> Log:
obrien> Add the NO_GUI knob for those who want a hugely-featured Vim, but don't
obrien> want the X depandancy.
  
Perhaps there should be some consistency in how to turn off X in the ports:

editors/vim5/Makefile			.if !defined(NO_GUI)
emulators/mtools/Makefile		.if !defined(NO_X)
games/qix/Makefile			.if defined(NO_X)
games/qix/Makefile			MAKE_ARGS=   NO_X11=yes
graphics/ImageMagick/Makefile		.if defined(NO_X)
graphics/libungif/Makefile		.ifdef (NO_X)
lang/tclX82/Makefile			.ifdef NO_X
net/openh323/Makefile			.if defined(NO_XWINDOWS)
net/scotty3/Makefile			.ifdef (NO_X)
print/apsfilter/Makefile		.if defined(NO_X)
print/ghostscript6/Makefile		.if !defined(NO_X)

NO_X seems to be the most popular (though in may different test forms).  If
that's the chosen method, only three ports (editors/vim5, editors/vim6, and
net/openh323) would need to change.  Those could be changed in such a way
as to leave the old knob in for backward compatibility (perhaps with a
warning to the user).

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15080.17846.866318.148776>