cvs commit: ports/misc/mc Makefile distinfo pkg-plist ports/misc/mc/files patch-src-diffviewer-ydiff.c patch-src-ext.c

Herbert J. Skuhra hskuhra at fastmail.fm
Thu Sep 9 10:13:36 UTC 2010


On Wed, 08 Sep 2010 18:37 -0700, "Stanislav Sedov" <stas at FreeBSD.org>
wrote:
> On Wed, 8 Sep 2010 15:59:25 +0000 (UTC)
> Max Khon <fjoe at 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
-------------- next part --------------
--- 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))


More information about the cvs-all mailing list