aboutsummaryrefslogtreecommitdiffstats
path: root/misc/mc-light
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-10-20 09:58:22 +0800
committerpav <pav@FreeBSD.org>2004-10-20 09:58:22 +0800
commit7357bbc358b6333b1f36b5cb2334c7272725431e (patch)
treecd79d7acb6493956d6029f0daa0d969ea9806357 /misc/mc-light
parent50435a2f51a85444545aec110cd024cd80ffba72 (diff)
downloadfreebsd-ports-gnome-7357bbc358b6333b1f36b5cb2334c7272725431e.tar.gz
freebsd-ports-gnome-7357bbc358b6333b1f36b5cb2334c7272725431e.tar.zst
freebsd-ports-gnome-7357bbc358b6333b1f36b5cb2334c7272725431e.zip
- 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