Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Sep 2010 12:22:41 +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:  <1284027761.21330.1394121867@webmail.messagingengine.com>
In-Reply-To: <1284026164.17047.1394118939@webmail.messagingengine.com>
References:  <201009081559.o88FxPft094576@repoman.freebsd.org><20100908183723.de31e127.stas@FreeBSD.org> <1284026164.17047.1394118939@webmail.messagingengine.com>

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

[-- Attachment #1 --]
On Thu, 09 Sep 2010 11:56 +0200, "Herbert J. Skuhra"
<hskuhra@fastmail.fm> wrote:
> 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.

Modified patch attached. 
Replace /usr/local with ${LOCALBASE}

-Herbert


[-- Attachment #2 --]
--- misc/mc/Makefile.bak	2010-09-09 11:51:44.000000000 +0200
+++ misc/mc/Makefile	2010-09-09 12:00:02.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=${LOCALBASE}/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?1284027761.21330.1394121867>