aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/kpovmodeler
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2013-08-12 01:05:53 +0800
committerrakuco <rakuco@FreeBSD.org>2013-08-12 01:05:53 +0800
commit1355b73b5fe33d48f9fba340e437d7cddfeb6fa6 (patch)
treebb883cd5f87b2981684529aa6532234b5f357bf4 /graphics/kpovmodeler
parent6837b3cb73731a74f2d7e21d1e82ac0e94804e70 (diff)
downloadfreebsd-ports-gnome-1355b73b5fe33d48f9fba340e437d7cddfeb6fa6.tar.gz
freebsd-ports-gnome-1355b73b5fe33d48f9fba340e437d7cddfeb6fa6.tar.zst
freebsd-ports-gnome-1355b73b5fe33d48f9fba340e437d7cddfeb6fa6.zip
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
Diffstat (limited to 'graphics/kpovmodeler')
-rw-r--r--graphics/kpovmodeler/files/patch-CMakeLists.txt25
-rw-r--r--graphics/kpovmodeler/pkg-descr2
2 files changed, 26 insertions, 1 deletions
diff --git a/graphics/kpovmodeler/files/patch-CMakeLists.txt b/graphics/kpovmodeler/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..93df3a111a02
--- /dev/null
+++ b/graphics/kpovmodeler/files/patch-CMakeLists.txt
@@ -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} )
+
diff --git a/graphics/kpovmodeler/pkg-descr b/graphics/kpovmodeler/pkg-descr
index be3cc6d6fd02..8a43f0e2f66c 100644
--- a/graphics/kpovmodeler/pkg-descr
+++ b/graphics/kpovmodeler/pkg-descr
@@ -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/