From 4331eec361ee1a3a474da79d6d98dc7632a42d07 Mon Sep 17 00:00:00 2001 From: Max Khon Date: Thu, 10 Jul 2003 10:39:38 +0000 Subject: Add WITH_X11 knob, configure with --without-x if WITH_X11 is not defined. Suggested by: Sergey Akifyev --- misc/mc/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'misc/mc') 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 -- cgit v1.2.3