aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2017-03-28 04:42:05 +0800
committerrakuco <rakuco@FreeBSD.org>2017-03-28 04:42:05 +0800
commit7fdf2a39a81b2940d7963919c553fae31d758d77 (patch)
treefd6a028bf83871291ea6370771ee1ab3c61121c8 /audio
parentb46b22e193d08a835d98ae7ac8742200b365d077 (diff)
downloadfreebsd-ports-gnome-7fdf2a39a81b2940d7963919c553fae31d758d77.tar.gz
freebsd-ports-gnome-7fdf2a39a81b2940d7963919c553fae31d758d77.tar.zst
freebsd-ports-gnome-7fdf2a39a81b2940d7963919c553fae31d758d77.zip
Unbreak after r436971.
Ensure libloudmouth-1.so is always passed with a full path to the linker. PR: 212558
Diffstat (limited to 'audio')
-rw-r--r--audio/amarok-kde4/files/patch-cmake_modules_FindLoudmouth.cmake27
1 files changed, 27 insertions, 0 deletions
diff --git a/audio/amarok-kde4/files/patch-cmake_modules_FindLoudmouth.cmake b/audio/amarok-kde4/files/patch-cmake_modules_FindLoudmouth.cmake
new file mode 100644
index 000000000000..ed11261c3a4f
--- /dev/null
+++ b/audio/amarok-kde4/files/patch-cmake_modules_FindLoudmouth.cmake
@@ -0,0 +1,27 @@
+Always use find_path() and find_library() to find Loudmouth so that the full
+paths are always used in the compiler and linker.
+--- cmake/modules/FindLoudmouth.cmake.orig 2017-03-27 19:37:41 UTC
++++ cmake/modules/FindLoudmouth.cmake
+@@ -13,13 +13,6 @@ if (LOUDMOUTH_INCLUDE_DIRS AND LOUDMOUTH
+ SET(LOUDMOUTH_FOUND TRUE)
+
+ else (LOUDMOUTH_INCLUDE_DIRS AND LOUDMOUTH_LIBRARIES)
+- if(NOT WIN32)
+- # use pkg-config to get the directories and then use these values
+- # in the FIND_PATH() and FIND_LIBRARY() calls
+- find_package(PkgConfig)
+- PKG_SEARCH_MODULE(LOUDMOUTH loudmouth-1.0)
+-
+- else(NOT WIN32)
+
+ FIND_PATH(LOUDMOUTH_INCLUDE_DIRS loudmouth/loudmouth.h /usr/local/include/loudmouth-1.0
+ ${_LOUDMOUTHIncDir}
+@@ -30,8 +23,6 @@ else (LOUDMOUTH_INCLUDE_DIRS AND LOUDMOU
+ ${_LOUDMOUTHLinkDir}
+ )
+
+- endif(NOT WIN32)
+-
+ if (LOUDMOUTH_INCLUDE_DIRS AND LOUDMOUTH_LIBRARIES)
+ SET(LOUDMOUTH_FOUND TRUE)
+ else (LOUDMOUTH_INCLUDE_DIRS AND LOUDMOUTH_LIBRARIES)