Hi all,

eventually I found where the problem is. :-)

one line (line 33) in kdesvn-0.10.0/CMakeLists.txt cause this problem
on FreeBSD, which is "ADD_DEFINITIONS(${KDE3_DEFINITIONS}
${APR_CPP_FLAGS} ${QT_DEFINITIONS})".

Simply changing this line to: "ADD_DEFINITIONS(${KDE3_DEFINITIONS}
${QT_DEFINITIONS} ${APR_CPP_FLAGS})" solves this issue.

On 9/17/06, Yuan, Jue <[EMAIL PROTECTED]> wrote:
Hi all,

I am the maintainer of kdesvn for FreeBSD. As kdesvn has changed its
make system to CMake, I think it is time to change the port of kdesvn
according to this. I'm not familiar with CMake before, and I end up
with some errors when trying to apply the change.

The error occurs after configuring:

...
-- Configuring done
-- Generating done
-- Build files have been written to:
/usr/home/maver/Develop/SVN_work/kdesvn/work/kdesvn-0.9.3-build
===>  Building for kdesvn-0.9.3
src/CMakeFiles/kdesvn.dir/flags.make:5: *** missing separator.  Stop.
gmake[1]: *** [src/CMakeFiles/kdesvn.dir/all] Error 2
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/home/maver/Develop/SVN_work/kdesvn.

Could anyone enlighten me on this? Any ideas would be very appreciated. :-)

//////////////////////////////////////////////////////////////////////////////////////////
The corresponding file flags.make is:
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.4

CXX_FLAGS = -O2 -fno-strict-aliasing -pipe -I/usr/X11R6/include
-I/usr/local/include -Wnon-virtual-dtor -Wno-long-long -Wundef
-Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith
-Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute
-fno-exceptions -fno-check-new -fno-common -fexceptions -O3 -DNDEBUG
-I/usr/local/include -I/usr/X11R6/include -I/usr/local/include/apr-1
-I/usr/local/include/subversion-1
-I/usr/home/maver/Develop/SVN_work/kdesvn/work/kdesvn-0.9.3/src
-I/usr/home/maver/Develop/SVN_work/kdesvn/work/kdesvn-0.9.3/src/svnfrontend
-I/usr/home/maver/Develop/SVN_work/kdesvn/work/kdesvn-0.9.3
-I/usr/home/maver/Develop/SVN_work/kdesvn/work/kdesvn-0.9.3-build/src
-I/usr/home/maver/Develop/SVN_work/kdesvn/work/kdesvn-0.9.3-build/src/svnfrontend
-I/usr/home/maver/Develop/SVN_work/kdesvn/work/kdesvn-0.9.3-build
-DQT_CLEAN_NAMESPACE -D_GNU_SOURCE
 -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT



--
Best Regards
Yuan, Jue @ http://www.yuanjue.net
_______________________________________________
kde-freebsd mailing list
[email protected]
http://kf.liquidneon.com/mailman/listinfo/kde-freebsd

Reply via email to