mirror of
https://git.freebsd.org/ports.git
synced 2025-06-12 08:10:31 -04:00
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
25 lines
974 B
Text
25 lines
974 B
Text
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} )
|
|
|