Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Dec 2009 19:27:51 +1000
From:      Dima Panov <fluffy@fluffy.khv.ru>
To:        freebsd-ports@freebsd.org
Cc:        ports@freebsd.org, fjoe@freebsd.org, "Sergey V. Dyatko" <sergey.dyatko@gmail.com>
Subject:   Re: configure failed on misc/mc
Message-ID:  <200912151927.52138.fluffy@fluffy.khv.ru>
In-Reply-To: <20091215110430.56ffc19b@notebook>
References:  <20091215110430.56ffc19b@notebook>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 15 December 2009 19:04:30 Sergey V. Dyatko wrote:
> Hi,
> 
> I have same error as http://forums.freebsd.org/showthread.php?p=55865 on
> my laptop, but on my desktop mc-4.7.0-pre4 build and works fine.
> 
> desktop# make showconfig
> ===> The following configuration options are available for mc-4.7.0pre4:
>      SLANG=on "Build with SLang library"
>      ICONV=on "Build with iconv recoding"
>      NLS=on "Build with NLS support"
>      EDIT=on "Build with internal editor"
>      X11=on "Build with X11 library"
>      SUBSHELL=on "Build with subshell support"
>      SAMBA=off "Build with Samba support"
> ===> Use 'make config' to modify these settings
> 
> On laptop I have same config
> 
> config.log:
> http://tiger.ipfw.ru/files/config.log
> 

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 09:26:38 -0000
@@ -76,6 +76,7 @@
 .if defined(WITH_UTF8)
 LIB_DEPENDS+=  slang.2:${PORTSDIR}/devel/libslang2
 CONFIGURE_ARGS+=--with-screen=slang
+CONFIGURE_ENV+=        LDFLAGS=-L${LOCALBASE}/lib CFLAGS+=-I${LOCALBASE}/include
 .elif !defined(WITH_SLANG) && (defined(WITHOUT_SLANG) || defined(MINIMAL))
 CONFIGURE_ARGS+=--with-screen=ncurses
 .else

-- 
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912151927.52138.fluffy>