Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Dec 2017 15:08:46 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r456984 - head/multimedia/kodi-devel/files
Message-ID:  <201712221508.vBMF8kJP092081@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Fri Dec 22 15:08:46 2017
New Revision: 456984
URL: https://svnweb.freebsd.org/changeset/ports/456984

Log:
  Add workaround to make multimedia/kodi-devel pass the configure phase
  when lld is the system linker

Added:
  head/multimedia/kodi-devel/files/
  head/multimedia/kodi-devel/files/patch-lld   (contents, props changed)

Added: head/multimedia/kodi-devel/files/patch-lld
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/kodi-devel/files/patch-lld	Fri Dec 22 15:08:46 2017	(r456984)
@@ -0,0 +1,15 @@
+Fix find_soname when lld is the system linker
+
+--- cmake/scripts/freebsd/Macros.cmake.orig	2017-12-21 00:17:03 UTC
++++ cmake/scripts/freebsd/Macros.cmake
+@@ -73,8 +73,8 @@ function(find_soname lib)
+   string(STRIP "${${lib}_FILENAME}" ${lib}_FILENAME)
+   if(NOT ${lib}_FILENAME)
+     execute_process(COMMAND ${CMAKE_C_COMPILER} -nostdlib -o /dev/null -Wl,-t ${link_lib}
+-                    OUTPUT_QUIET
+-                    ERROR_VARIABLE _TMP_FILENAME)
++                    ERROR_QUIET
++                    OUTPUT_VARIABLE _TMP_FILENAME)
+     string(REGEX MATCH ".*lib${liblow}.so" ${lib}_FILENAME ${_TMP_FILENAME})
+   endif()
+   if(${lib}_FILENAME)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712221508.vBMF8kJP092081>