configure failed on misc/mc

Dima Panov fluffy at fluffy.khv.ru
Tue Dec 15 09:28:34 UTC 2009


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


More information about the freebsd-ports mailing list