1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00

Add WITH_X11 knob, configure with --without-x if WITH_X11 is not defined.

Suggested by:	Sergey Akifyev <asa@gascom.ru>
This commit is contained in:
Max Khon 2003-07-10 10:39:38 +00:00
parent a2fcfaf1e5
commit 4331eec361
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84583

View File

@ -36,6 +36,10 @@ PLIST_SUB= CHARSETS=""
PLIST_SUB= CHARSETS="@comment "
.endif
.if !defined(WITH_X11)
CONFIGURE_ARGS+=--without-x
.endif
.if ${ARCH} == "alpha"
#
# something is wrong with slang on alpha: mc enters an infinite loop