Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 2004 04:10:03 +0300
From:      Andrey Slusar <anray@inet.ua>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/72853: [PATCH] misc/mc-light: add building with subshell support
Message-ID:  <E1CJiVn-0006RN-0x@santinel.home.ua>
Resent-Message-ID: <200410190120.i9J1KPIE049487@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         72853
>Category:       ports
>Synopsis:       [PATCH] misc/mc-light: add building with subshell support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 19 01:20:25 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Andrey Slusar
>Release:        FreeBSD 5.3-BETA7 i386
>Organization:
Santinel
>Environment:
System: FreeBSD santinel.home.ua 5.3-BETA7 FreeBSD 5.3-BETA7 #0: Wed Oct 6 01:13:10 EEST 2004 anray@santinel.home.ua:/usr/obj/usr/src/sys/ANRAY i386
>Description:
	New file: files/patch-config.h.in

	- Added option WITH_SUBSHELL - building mc-light with subshell support
>How-To-Repeat:
	N/A
>Fix:

--- mc-light.diff begins here ---
diff -ruN /usr/ports/misc/mc-light/Makefile mc-light/Makefile
--- /usr/ports/misc/mc-light/Makefile	Tue Oct 12 21:46:44 2004
+++ mc-light/Makefile	Tue Oct 19 03:58:04 2004
@@ -25,12 +25,15 @@
 		--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
diff -ruN /usr/ports/misc/mc-light/files/patch-config.h.in mc-light/files/patch-config.h.in
--- /usr/ports/misc/mc-light/files/patch-config.h.in	Thu Jan  1 03:00:00 1970
+++ mc-light/files/patch-config.h.in	Tue Oct 19 04:01:16 2004
@@ -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
--- mc-light.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1CJiVn-0006RN-0x>