On Thu, 09 Sep 2010 11:56 +0200, "Herbert J. Skuhra"
<[email protected]> wrote:
> On Wed, 08 Sep 2010 18:37 -0700, "Stanislav Sedov" <[email protected]>
> wrote:
> > On Wed, 8 Sep 2010 15:59:25 +0000 (UTC)
> > Max Khon <[email protected]> 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
--- 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))
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[email protected]"