Date: Tue, 28 Mar 2017 09:32:26 +0000 (UTC) From: Raphael Kubo da Costa <rakuco@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r437109 - head/graphics/kphotoalbum-kde4/files Message-ID: <201703280932.v2S9WQQQ096207@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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@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})
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703280932.v2S9WQQQ096207>