summaryrefslogtreecommitdiff
path: root/misc/mc/Makefile
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2003-07-10 10:39:38 +0000
committerMax Khon <fjoe@FreeBSD.org>2003-07-10 10:39:38 +0000
commit4331eec361ee1a3a474da79d6d98dc7632a42d07 (patch)
tree6bcd60133c8cd7485c6c9969c944aadeeadbc131 /misc/mc/Makefile
parentUpdate to 3.0.7. (diff)
Add WITH_X11 knob, configure with --without-x if WITH_X11 is not defined.
Suggested by: Sergey Akifyev <asa@gascom.ru>
Diffstat (limited to '')
-rw-r--r--misc/mc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/mc/Makefile b/misc/mc/Makefile
index 8bbd28962d10..b0c48232fdb8 100644
--- a/misc/mc/Makefile
+++ b/misc/mc/Makefile
@@ -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