On Sunday 21 September 2008 21:30:55 Max Brazhnikov wrote:
> On Sun, 21 Sep 2008 20:42:00 +0300, Andy Fawcett wrote:
> > Hi,
> >
> > The general feeling at KDE/FreeBSD team is that, while the patch
> > does indeed work, it's the wrong way of dealing with the issue.
> >
> > devel/flex should be fixed so that it installs its header(s) under
> > a separate path, so it doesn't conflict. Ports which DO require
> > this version of flex should be updated to look in this new
> > location.
>
> btw, flex is unmaintained now. If someone is willing to fix the issue
> this way, you're welcome. It's not so hard, I believe, since only a
> few ports depend on flex.

Patch for textproc/flex attached. No other ports need changing, as far 
as I can tell from testing.

Apply this, rebuild textproc/flex, and the kdesdk3 problems just 
disappear...

Andy

-- 
Andy Fawcett                                     | [EMAIL PROTECTED]
                                                 | [EMAIL PROTECTED]
"In an open world without walls and fences,      | [EMAIL PROTECTED]
  we wouldn't need Windows and Gates."  -- anon  | [EMAIL PROTECTED]

--- Makefile.orig	2008-09-21 22:36:06.000000000 +0300
+++ Makefile	2008-09-21 22:36:13.000000000 +0300
@@ -7,6 +7,7 @@
 
 PORTNAME=	flex
 PORTVERSION=	2.5.35
+PORTREVISION=	1
 CATEGORIES=	textproc
 MASTER_SITES=	SF
 
@@ -19,10 +20,11 @@
 USE_BISON=	build
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--disable-nls
+CONFIGURE_ARGS=	--disable-nls --includedir=${PREFIX}/include/flex
 USE_GMAKE=	yes
 MAN1=		flex.1
-PLIST_FILES=	bin/flex include/FlexLexer.h lib/libfl.a lib/libfl_pic.a
+PLIST_DIRS=	include/flex
+PLIST_FILES=	bin/flex include/flex/FlexLexer.h lib/libfl.a lib/libfl_pic.a
 
 post-patch:
 	@${REINPLACE_CMD} -e 's/install-info-recursive//g;s/info-recursive//g' \
_______________________________________________
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to