From owner-freebsd-ports@FreeBSD.ORG Tue Dec 15 10:25:12 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 BCDB4106566C; Tue, 15 Dec 2009 10:25:12 +0000 (UTC) (envelope-from sergey.dyatko@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 24EC78FC15; Tue, 15 Dec 2009 10:25:10 +0000 (UTC) Received: by fxm27 with SMTP id 27so4024776fxm.3 for ; Tue, 15 Dec 2009 02:25:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=ZgbtRcUX9DZ3vdLBjRf6FPw6UebbHcME6tFDl3Tl+Qg=; b=uCYn/HW1TeFPQNMo411BzHebZMjjj0MUrZ2u+omCqwhx6h966rurTUH5ytOjGterCL ew1peXqGsz/EfPJxd9GY0b4zeykAjBmIx2xTmhNv5G6ewW36wSFIQ2Cst2RjAY3OLr3a b4cxw/PRSTEHPxkpql6EOKP18f7Rwv7lnTGdc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=dUniMmkNIAuSbRm5SjxmGkfvr9amJ1ybYGBRnwi6Nju+x6rKunYxWVkwor20nhtH/e 9UVvmA2+4IeliOSGhQ7AibCzreEJJDL0iTIfTx0zs58L0Cw7833LTfbF/knsfOeU+Szx aN2Hwv5k6gskIhY/CbSPOv8JChqTf64krzBXQ= Received: by 10.86.158.7 with SMTP id g7mr1547883fge.53.1260872708592; Tue, 15 Dec 2009 02:25:08 -0800 (PST) Received: from tiger.minsk.domain (minsk.agava.net [212.98.174.157]) by mx.google.com with ESMTPS id e3sm8027514fga.21.2009.12.15.02.25.07 (version=SSLv3 cipher=RC4-MD5); Tue, 15 Dec 2009 02:25:07 -0800 (PST) Date: Tue, 15 Dec 2009 12:25:06 +0200 From: "Sergey V. Dyatko" To: Dima Panov Message-ID: <20091215122506.0a1b08a7@tiger.minsk.domain> In-Reply-To: <200912152008.40572.fluffy@fluffy.khv.ru> References: <20091215110430.56ffc19b@notebook> <200912151927.52138.fluffy@fluffy.khv.ru> <20091215115525.778d9f39@tiger.minsk.domain> <200912152008.40572.fluffy@fluffy.khv.ru> X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.5; i386-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Cc: fjoe@freebsd.org, freebsd-ports@freebsd.org 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:25:12 -0000 В Tue, 15 Dec 2009 20:08:40 +1000 Dima Panov пишет: DP> On Tuesday 15 December 2009 19:55:25 Sergey V. Dyatko wrote: DP> > On Tue, 15 Dec 2009 19:27:51 +1000 DP> > Dima Panov wrote: DP> > DP> > DP> On Tuesday 15 December 2009 19:04:30 Sergey V. Dyatko wrote: DP> > DP> > Hi, DP> > DP> > DP> > DP> > I have same error as DP> > DP> > http://forums.freebsd.org/showthread.php?p=55865 on my DP> > DP> > laptop, but on my desktop mc-4.7.0-pre4 build and works DP> > DP> > fine. DP> > DP> > DP> > DP> > desktop# make showconfig DP> > DP> > ===> The following configuration options are available for DP> > DP> > mc-4.7.0pre4: SLANG=on "Build with SLang library" DP> > DP> > ICONV=on "Build with iconv recoding" DP> > DP> > NLS=on "Build with NLS support" DP> > DP> > EDIT=on "Build with internal editor" DP> > DP> > X11=on "Build with X11 library" DP> > DP> > SUBSHELL=on "Build with subshell support" DP> > DP> > SAMBA=off "Build with Samba support" DP> > DP> > ===> Use 'make config' to modify these settings DP> > DP> > DP> > DP> > On laptop I have same config DP> > DP> > DP> > DP> > config.log: DP> > DP> > http://tiger.ipfw.ru/files/config.log DP> > DP> > DP> > DP> DP> > DP> Index: DP> > DP> Makefile DP> > DP> =================================================================== DP> > DP> RCS file: /home/ncvs/ports/misc/mc/Makefile,v retrieving DP> > DP> revision 1.120 diff -u -r1.120 DP> > DP> Makefile --- Makefile 14 Dec 2009 18:54:05 -0000 1.120 DP> > DP> +++ Makefile 15 Dec 2009 09:26:38 -0000 DP> > DP> @@ -76,6 +76,7 @@ DP> > DP> .if defined(WITH_UTF8) DP> > DP> LIB_DEPENDS+= slang.2:${PORTSDIR}/devel/libslang2 DP> > DP> CONFIGURE_ARGS+=--with-screen=slang DP> > DP> +CONFIGURE_ENV+= LDFLAGS=-L${LOCALBASE}/lib DP> > DP> CFLAGS+=-I${LOCALBASE}/include .elif !defined(WITH_SLANG) && DP> > DP> (defined(WITHOUT_SLANG) || defined(MINIMAL)) DP> > DP> CONFIGURE_ARGS+=--with-screen=ncurses .else DP> > DP> DP> > DP> > same error. DP> > DP> DP> Oops, was wrong patch. Now it should be fine 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 DP> 1.120 +++ Makefile 15 Dec 2009 10:04:35 DP> -0000 @@ -73,13 +73,12 @@ DP> PLIST_SUB+= EDITOR="" DP> .endif DP> DP> -.if defined(WITH_UTF8) DP> +.if defined(WITH_SLANG)&& !defined(MINIMAL) DP> LIB_DEPENDS+= slang.2:${PORTSDIR}/devel/libslang2 DP> CONFIGURE_ARGS+=--with-screen=slang DP> -.elif !defined(WITH_SLANG) && (defined(WITHOUT_SLANG) || DP> defined(MINIMAL)) -CONFIGURE_ARGS+=--with-screen=ncurses DP> +CONFIGURE_ENV+= LDFLAGS=-L${LOCALBASE}/lib DP> CFLAGS+=-I${LOCALBASE}/include .else DP> -CONFIGURE_ARGS+=--with-screen=mcslang DP> +CONFIGURE_ARGS+=--with-screen=ncurses DP> .endif DP> DP> .if !defined(WITH_SUBSHELL) && (defined(WITHOUT_SUBSHELL) || DP> defined(MINIMAL)) DP> now it build and works fine on laptop too, but strange that on the desktop `make configure` works w/o errors:-/ -- wbr, tiger