On Tuesday 15 December 2009 19:55:25 Sergey V. Dyatko wrote: > On Tue, 15 Dec 2009 19:27:51 +1000 > Dima Panov <flu...@fluffy.khv.ru> wrote: > > DP> On Tuesday 15 December 2009 19:04:30 Sergey V. Dyatko wrote: > DP> > Hi, > DP> > > DP> > I have same error as > DP> > http://forums.freebsd.org/showthread.php?p=55865 on my laptop, > DP> > but on my desktop mc-4.7.0-pre4 build and works fine. > DP> > > DP> > desktop# make showconfig > DP> > ===> The following configuration options are available for > DP> > mc-4.7.0pre4: SLANG=on "Build with SLang library" > DP> > ICONV=on "Build with iconv recoding" > DP> > NLS=on "Build with NLS support" > DP> > EDIT=on "Build with internal editor" > DP> > X11=on "Build with X11 library" > DP> > SUBSHELL=on "Build with subshell support" > DP> > SAMBA=off "Build with Samba support" > DP> > ===> Use 'make config' to modify these settings > DP> > > DP> > On laptop I have same config > DP> > > DP> > config.log: > DP> > http://tiger.ipfw.ru/files/config.log > DP> > > DP> > DP> Index: > DP> Makefile > DP> =================================================================== > DP> RCS file: /home/ncvs/ports/misc/mc/Makefile,v retrieving revision > DP> 1.120 diff -u -r1.120 > DP> Makefile --- Makefile 14 Dec 2009 18:54:05 -0000 1.120 > DP> +++ Makefile 15 Dec 2009 09:26:38 -0000 > DP> @@ -76,6 +76,7 @@ > DP> .if defined(WITH_UTF8) > DP> LIB_DEPENDS+= slang.2:${PORTSDIR}/devel/libslang2 > DP> CONFIGURE_ARGS+=--with-screen=slang > DP> +CONFIGURE_ENV+= LDFLAGS=-L${LOCALBASE}/lib > DP> CFLAGS+=-I${LOCALBASE}/include .elif !defined(WITH_SLANG) && > DP> (defined(WITHOUT_SLANG) || defined(MINIMAL)) > DP> CONFIGURE_ARGS+=--with-screen=ncurses .else > DP> > > same error. >
Oops, was wrong patch. Now it should be fine Index: Makefile =================================================================== RCS file: /home/ncvs/ports/misc/mc/Makefile,v retrieving revision 1.120 diff -u -r1.120 Makefile --- Makefile 14 Dec 2009 18:54:05 -0000 1.120 +++ 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)) -- Dima "Red Fox" Panov @ Home | C73E 2B72 1FFD 61BD E206 1234 A626 76ED 93E3 B018 Khabarovsk, Russia | 2D30 2CCB 9984 130C 6F87 BAFC FB8B A09D D539 8F29 k...@freebsd Team | FreeBSD committer since 10.08.2009 | FreeBSD since Sept 1995 Twitter.com:fluffy_khv | Skype:dima.panov | Jabber.org:fluffy.khv | ICQ:1745024 _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"