From owner-freebsd-ports@FreeBSD.ORG Tue Dec 15 10:09:33 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BF96106566B; Tue, 15 Dec 2009 10:09:33 +0000 (UTC) (envelope-from fluffy@fluffy.khv.ru) Received: from ns.ael.RU (ns.ael.ru [62.76.207.226]) by mx1.freebsd.org (Postfix) with ESMTP id EDA318FC25; Tue, 15 Dec 2009 10:09:32 +0000 (UTC) Received: from Fluffy.Khv.RU (85.9.168.188.retail.ttk.ru [188.168.9.85] (may be forged)) by ns.ael.RU (8.14.3/8.14.3/Fluffy/5.3) with ESMTP id nBFA9OHk065511; Tue, 15 Dec 2009 20:09:27 +1000 (VLAT) (envelope-from fluffy@fluffy.khv.ru) Received: from fluffy.khv.ru (localhost [127.0.0.1]) by Fluffy.Khv.RU (8.14.3/8.14.3/Fluffy/5.4.1) with ESMTP id nBFA8fcU055729; Tue, 15 Dec 2009 20:08:41 +1000 (VLAT) (envelope-from fluffy@fluffy.khv.ru) From: Dima Panov Organization: Twilight Zone To: freebsd-ports@freebsd.org Date: Tue, 15 Dec 2009 20:08:40 +1000 User-Agent: KMail/1.12.3 (FreeBSD/9.0-900004-CURRENT; KDE/4.3.3; amd64; ; ) References: <20091215110430.56ffc19b@notebook> <200912151927.52138.fluffy@fluffy.khv.ru> <20091215115525.778d9f39@tiger.minsk.domain> In-Reply-To: <20091215115525.778d9f39@tiger.minsk.domain> X-Face: "RE-2'yS-N:*/7DHOjQ%Az<.+SG>K7B'k(&; qb0K4]Hv>J}"l9,=:m2_]-3S/}`b\]yA-g !y3en*Zl(i-86iM?Q[w@!=rW&JdT>KHW@dri>+qMcy42O, 5#izEqa-K+=B<@A X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (ns.ael.RU [62.76.207.226]); Tue, 15 Dec 2009 20:09:28 +1000 (VLAT) X-Spam-Status: No, score=-1.9 required=3.0 tests=AWL,BAYES_00,RDNS_NONE, SPF_FAIL,SPF_HELO_FAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ns.ael.RU Cc: fjoe@freebsd.org, "Sergey V. Dyatko" Subject: Re: configure failed on misc/mc X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2009 10:09:33 -0000 On Tuesday 15 December 2009 19:55:25 Sergey V. Dyatko wrote: > On Tue, 15 Dec 2009 19:27:51 +1000 > Dima Panov 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 KDE@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