summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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