Date: Tue, 15 Dec 2009 21:22:00 +1000 From: "Dima Panov" <fluffy@FreeBSD.org> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/141634: misc/mc: unbroke with libslang support Message-ID: <1260876120.58760@Fluffy.Khv.RU> Resent-Message-ID: <200912151130.nBFBU2gJ047088@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 141634 >Category: ports >Synopsis: misc/mc: unbroke with libslang support >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Dec 15 11:30:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Dima Panov >Release: FreeBSD 9.0-900004-CURRENT amd64 >Organization: Fluffy.Khv.RU >Environment: System: FreeBSD 9.0-900004-CURRENT #0: Mon Dec 7 14:03:42 VLAT 2009 fluffy@Fluffy.Khv.RU:/usr/obj/usr/src/sys/Spot >Description: After update to 4.7.0pre4, mics/mc have staled checks in Makefile, which make build with slang broken >How-To-Repeat: >Fix: --- mc.diff begins here --- Index: misc/mc/Makefile =================================================================== RCS file: /home/ncvs/ports/misc/mc/Makefile,v retrieving revision 1.120 diff -u -r1.120 Makefile --- misc/mc/Makefile 14 Dec 2009 18:54:05 -0000 1.120 +++ misc/mc/Makefile 15 Dec 2009 10:04:35 -0000 @@ -73,13 +73,12 @@ PLIST_SUB+= EDITOR="" .endif -.if defined(WITH_UTF8) +.if defined(WITH_SLANG)&& !defined(MINIMAL) LIB_DEPENDS+= slang.2:${PORTSDIR}/devel/libslang2 CONFIGURE_ARGS+=--with-screen=slang -.elif !defined(WITH_SLANG) && (defined(WITHOUT_SLANG) || defined(MINIMAL)) -CONFIGURE_ARGS+=--with-screen=ncurses +CONFIGURE_ENV+= LDFLAGS=-L${LOCALBASE}/lib CFLAGS+=-I${LOCALBASE}/include .else -CONFIGURE_ARGS+=--with-screen=mcslang +CONFIGURE_ARGS+=--with-screen=ncurses .endif .if !defined(WITH_SUBSHELL) && (defined(WITHOUT_SUBSHELL) || defined(MINIMAL)) --- mc.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?1260876120.58760>