summaryrefslogtreecommitdiff
path: root/misc/mc-light
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-10-20 01:58:22 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-10-20 01:58:22 +0000
commit9a6f1a09f6377c77221565fa39bb50bc23b0f941 (patch)
tree19371a2ba329ad13526c30f5154f8652b02bb5f1 /misc/mc-light
parent- Fix extfs again (diff)
- Added option WITH_SUBSHELL - building mc-light with subshell support
PR: ports/72853 Submitted by: Andrey Slusar <anray@inet.ua> Approved by: maintainer address bounced: <<< 553 <e0-a11.b1.lan.prg.vol.cz[195.122.204.152]>: Client host rejected: REJECT long domain name. spam possible. 550 5.1.1 <sam@brj.pp.ru>... User unknown
Diffstat (limited to 'misc/mc-light')
-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