[kde-freebsd] [PATCH] devel/kdevelop broken

Bartosz Fabianowski freebsd at chillt.de
Thu Mar 22 23:01:18 CET 2007

A mail has been sent regarding this issue to kde-packagers at kde.org 
moments ago and I want to add an important note before anything gets 

The patch added in devel/kdevelop revision 3.4.0_1 to fix qmake parsing 
is incomplete and renders KDevelop unable to open or create qmake based 
projects. One piece of the problem is a missing FlexLexer.h file, which 
is what the message on kde-packagers at kde.org is about.

However, there is a second, FreeBSD specific, problem. The patch that 
was obtained from Debian modifies Makefile.am in 
buildtools/lib/parsers/qmake which, in turn, requires the Makefile.in to 
be regenerated. However, for reasons unknown to me, the FreeBSD port 
disables the functionality required for that in the KDE build system. 
The result is that a Makefile is generated based on the outdated 
Makefile.in and the file qmake_lex.cc is neither compiled nor linked 
into the final binary.

One way of fixing this is to rerun auto* to generate a new Makefile.in. 
The other is to prepare a new Makefile.in and update the stale one via a 
patch. This is what the attached file does. I am doing a test compile 
right now, but if all goes well, this patch should be added to the 
devel/kdevelop port to fix qmake based projects. The attached file also 
creates the missing FlexLexer.h file.

- Bartosz
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-fix_qmake_parser_2
Url: http://mail.kde.org/pipermail/kde-freebsd/attachments/20070322/df2a2e3a/attachment-0001.ksh 

More information about the kde-freebsd mailing list