Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Sep 2010 11:56:04 +0200
From:      "Herbert J. Skuhra" <hskuhra@fastmail.fm>
To:        "Stanislav Sedov" <stas@FreeBSD.org>, "Max Khon" <fjoe@FreeBSD.org>
Cc:        cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/misc/mc Makefile distinfo pkg-plist  ports/misc/mc/files patch-src-diffviewer-ydiff.c patch-src-ext.c
Message-ID:  <1284026164.17047.1394118939@webmail.messagingengine.com>
In-Reply-To: <20100908183723.de31e127.stas@FreeBSD.org>
References:  <201009081559.o88FxPft094576@repoman.freebsd.org> <20100908183723.de31e127.stas@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Wed, 08 Sep 2010 18:37 -0700, "Stanislav Sedov" <stas@FreeBSD.org>
wrote:
> On Wed, 8 Sep 2010 15:59:25 +0000 (UTC)
> Max Khon <fjoe@FreeBSD.org> mentioned:
> 
> > fjoe        2010-09-08 15:59:25 UTC
> > 
> >   FreeBSD ports repository
> > 
> >   Modified files:
> >     misc/mc              Makefile distinfo pkg-plist 
> >   Removed files:
> >     misc/mc/files        patch-src-diffviewer-ydiff.c 
> >                          patch-src-ext.c 
> >   Log:
> >   Update to 4.7.4
> >   
> 
> Hi, Max!
> 
> This version fails to compile with SLANG now.
> Apparently it checks for slang/slang.h instead of slang.h,
> and fails later at linking.

Hi!

The attached patch works for me.

-Herbert

[-- Attachment #2 --]
--- misc/mc/Makefile.bak	2010-09-09 11:51:44.000000000 +0200
+++ misc/mc/Makefile	2010-09-09 11:49:17.000000000 +0200
@@ -84,7 +84,7 @@
 CONFIGURE_ARGS+=--with-screen=ncurses
 .else
 LIB_DEPENDS+=	slang.2:${PORTSDIR}/devel/libslang2
-CONFIGURE_ARGS+=--with-screen=slang
+CONFIGURE_ARGS+=--with-screen=slang --with-slang-includes=/usr/local/include
 .endif
 
 .if !defined(WITH_SUBSHELL) && (defined(WITHOUT_SUBSHELL) || defined(MINIMAL))

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