summaryrefslogtreecommitdiff
path: root/misc/mc
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2005-07-12 22:25:50 +0000
committerMax Khon <fjoe@FreeBSD.org>2005-07-12 22:25:50 +0000
commitf902ad614124a5ad2229c94365ccae3254c34855 (patch)
treebe1eaf40907c9ea4c3fc7ab23834bad88d093451 /misc/mc
parent- Update to 0.0.20050712 (diff)
OPTION'ify
PR: 83009 Submitted by: Dima Panov
Notes
Notes: svn path=/head/; revision=139010
Diffstat (limited to 'misc/mc')
-rw-r--r--misc/mc/Makefile9
1 files changed, 9 insertions, 0 deletions
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 <bsd.port.pre.mk>
.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))