aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/mc-light/Makefile5
-rw-r--r--misc/mc-light/files/patch-config.h.in11
2 files changed, 15 insertions, 1 deletions
diff --git a/misc/mc-light/Makefile b/misc/mc-light/Makefile
index 931f9f2ee66e..23449c07f553 100644
--- a/misc/mc-light/Makefile
+++ b/misc/mc-light/Makefile
@@ -26,13 +26,16 @@ CONFIGURE_ARGS+=--with-included-slang \
--with-gettext \
--with-vfs \
--with-netrc \
- --without-subshell \
--without-gpm-mouse \
--with-edit
MAN1= mc.1 mcedit.1
MAN8= mcserv.8
+.if !defined(WITH_SUBSHELL)
+CONFIGURE_ARGS+=--without-subshell
+.endif
+
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
diff --git a/misc/mc-light/files/patch-config.h.in b/misc/mc-light/files/patch-config.h.in
new file mode 100644
index 000000000000..306b0850535d
--- /dev/null
+++ b/misc/mc-light/files/patch-config.h.in
@@ -0,0 +1,11 @@
+--- config.h.in.orig Tue Oct 19 04:00:43 2004
++++ config.h.in Tue Oct 19 04:01:00 2004
+@@ -322,7 +322,7 @@
+ #undef HAVE_GETWD
+
+ /* Define if you have the grantpt function. */
+-#undef HAVE_GRANTPT
++/* #undef HAVE_GRANTPT */
+
+ /* Define if you have the initgroups function. */
+ #undef HAVE_INITGROUPS