svn commit: r324600 - in head/graphics/kpovmodeler: . files
Raphael Kubo da Costa
rakuco at FreeBSD.org
Sun Aug 11 17:05:54 UTC 2013
Author: rakuco
Date: Sun Aug 11 17:05:53 2013
New Revision: 324600
URL: http://svnweb.freebsd.org/changeset/ports/324600
Log:
Unbreak the build.
Import a few patches originally from Gentoo:
o http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-gfx/kpovmodeler/files/kpovmodeler-1.1.3-freetype-include.patch?hideattic=0&revision=1.1&view=markup
o http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-gfx/kpovmodeler/files/kpovmodeler-1.1.3-underlinking.patch?hideattic=0&revision=1.2&view=markup
That fix the FreeType errors there were occurring, and also a linking
problem that was happening at a later stage.
Obtained from: Gentoo
Added:
head/graphics/kpovmodeler/files/patch-CMakeLists.txt (contents, props changed)
Modified:
head/graphics/kpovmodeler/pkg-descr
Added: head/graphics/kpovmodeler/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/kpovmodeler/files/patch-CMakeLists.txt Sun Aug 11 17:05:53 2013 (r324600)
@@ -0,0 +1,25 @@
+The first hunk fixes the build by including the right FreeType directory.
+
+The second one explicitly links against libkdeui, as there were linking
+problems because of kdeui functions being used without the library being
+explicitly referenced.
+--- CMakeLists.txt.orig 2009-08-31 18:17:15.000000000 +0300
++++ CMakeLists.txt 2013-08-11 19:53:43.000000000 +0300
+@@ -11,7 +11,7 @@
+
+ configure_file(config-kpovmodeler.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kpovmodeler.h )
+
+-include_directories(${FREETYPE_INCLUDE_DIR})
++include_directories(${FREETYPE_INCLUDE_DIRS})
+ add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)
+
+ ########### next target ###############
+@@ -306,7 +306,7 @@
+
+ kde4_add_executable(kpovmodeler ${kpovmodeler_SRCS})
+
+-target_link_libraries(kpovmodeler ${KDE4_KDECORE_LIBS} lkpovmodeler )
++target_link_libraries(kpovmodeler ${KDE4_KDECORE_LIBS} ${KDE4_KDEUI_LIBS} lkpovmodeler )
+
+ install(TARGETS kpovmodeler ${INSTALL_TARGETS_DEFAULT_ARGS} )
+
Modified: head/graphics/kpovmodeler/pkg-descr
==============================================================================
--- head/graphics/kpovmodeler/pkg-descr Sun Aug 11 16:45:53 2013 (r324599)
+++ head/graphics/kpovmodeler/pkg-descr Sun Aug 11 17:05:53 2013 (r324600)
@@ -1,4 +1,4 @@
KPovModeler is a modeling and composition program for creating POV-Ray(TM)
scenes in KDE.
-WWW: http://www.kpovmodeler.org/
+WWW: http://www.kpovmodeler.org/
More information about the svn-ports-head
mailing list