svn commit: r437109 - head/graphics/kphotoalbum-kde4/files

Raphael Kubo da Costa rakuco at FreeBSD.org
Tue Mar 28 09:32:27 UTC 2017


Author: rakuco
Date: Tue Mar 28 09:32:25 2017
New Revision: 437109
URL: https://svnweb.freebsd.org/changeset/ports/437109

Log:
  Unbreak after r436971.
  
  Import an upstream patch to make sure we link against libkmediaplayer with a
  full path.

Added:
  head/graphics/kphotoalbum-kde4/files/patch-git_f785317b   (contents, props changed)

Added: head/graphics/kphotoalbum-kde4/files/patch-git_f785317b
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/kphotoalbum-kde4/files/patch-git_f785317b	Tue Mar 28 09:32:25 2017	(r437109)
@@ -0,0 +1,29 @@
+Fix the build with kdelibs4 4.14.30.
+
+commit f785317ba88528760886b592aa9604b0c4ba62dd
+Author: David Faure <faure at kde.org>
+Date:   Sun Jul 26 18:12:24 2015 +0200
+
+    set cmake_min_req to 2.8.9 to match kdelibs4 policy; fix build accordingly
+
+    (working around the lack of ${KDE4_KMEDIAPLAYER_LIBS})
+
+    CCMAIL: kde-buildsystem at kde.org
+
+--- CMakeLists.txt
++++ CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required( VERSION 2.6.2 FATAL_ERROR )
++cmake_minimum_required(VERSION 2.8.9)
+ project(kphotoalbum)
+ 
+ # provide drop-down menu for build-type in cmake-gui:
+@@ -364,7 +364,7 @@ kde4_add_library(Utilities STATIC ${libUtilities_SRCS})
+ target_link_libraries(kphotoalbum Utilities)
+ 
+ # External components
+-target_link_libraries(kphotoalbum ${KDE4_KIO_LIBS} ${JPEG_LIBRARY} kmediaplayer ${KDE4_PHONON_LIBS})
++target_link_libraries(kphotoalbum ${KDE4_KIO_LIBS} ${JPEG_LIBRARY} ${KDE4_TARGET_PREFIX}kmediaplayer ${KDE4_PHONON_LIBS})
+ 
+ if(KIPI_FOUND)
+   target_link_libraries(kphotoalbum ${KIPI_LIBRARIES})


More information about the svn-ports-head mailing list