From f902ad614124a5ad2229c94365ccae3254c34855 Mon Sep 17 00:00:00 2001 From: Max Khon Date: Tue, 12 Jul 2005 22:25:50 +0000 Subject: OPTION'ify PR: 83009 Submitted by: Dima Panov --- misc/mc/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'misc/mc') diff --git a/misc/mc/Makefile b/misc/mc/Makefile index 68e3c9ca5b62..c6fb811aba8b 100644 --- a/misc/mc/Makefile +++ b/misc/mc/Makefile @@ -23,6 +23,13 @@ USE_REINPLACE= yes USE_GNOME= glib20 GNU_CONFIGURE= yes +OPTIONS= SLANG "Build with SLang library" on \ + ICONV "Build with iconv recoding" on \ + EDIT "Build with internal editor" on \ + X11 "Build with X11 library" off \ + SUBSHELL "Build with subshell support" on \ + SAMBA "Build with Samba support" on + .include .if defined(WITH_SAMBA) || !(defined(WITHOUT_SAMBA) || defined(MINIMAL)) @@ -40,6 +47,8 @@ PLIST_SUB= CHARSETS="@comment " .if !defined(WITH_X11) || defined(MINIMAL) CONFIGURE_ARGS+=--without-x +.else +USE_XLIB= yes .endif .if !defined(WITH_EDIT) && (defined(WITHOUT_EDIT) || defined(MINIMAL)) -- cgit v1.2.3