aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2005-07-13 06:25:50 +0800
committerfjoe <fjoe@FreeBSD.org>2005-07-13 06:25:50 +0800
commitc70de08f196d9b0f4d3da1e3a7fc11a8d6799517 (patch)
tree4dbbdd674640122b45f4125c82ac2a0ba9e1c6a5 /misc
parenta47704a9e7d39eb5354e13aa26de2ffa07f6f5c4 (diff)
downloadfreebsd-ports-gnome-c70de08f196d9b0f4d3da1e3a7fc11a8d6799517.tar.gz
freebsd-ports-gnome-c70de08f196d9b0f4d3da1e3a7fc11a8d6799517.tar.zst
freebsd-ports-gnome-c70de08f196d9b0f4d3da1e3a7fc11a8d6799517.zip
OPTION'ify
PR: 83009 Submitted by: Dima Panov
Diffstat (limited to 'misc')
-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))