svn commit: r437084 - head/audio/amarok-kde4/files

Raphael Kubo da Costa rakuco at FreeBSD.org
Mon Mar 27 20:42:06 UTC 2017


Author: rakuco
Date: Mon Mar 27 20:42:05 2017
New Revision: 437084
URL: https://svnweb.freebsd.org/changeset/ports/437084

Log:
  Unbreak after r436971.
  
  Ensure libloudmouth-1.so is always passed with a full path to the linker.
  
  PR:		212558

Added:
  head/audio/amarok-kde4/files/patch-cmake_modules_FindLoudmouth.cmake   (contents, props changed)

Added: head/audio/amarok-kde4/files/patch-cmake_modules_FindLoudmouth.cmake
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/amarok-kde4/files/patch-cmake_modules_FindLoudmouth.cmake	Mon Mar 27 20:42:05 2017	(r437084)
@@ -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)


More information about the svn-ports-head mailing list