Date: Wed, 27 Dec 2017 15:19:04 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r457371 - head/lang/beignet/files Message-ID: <201712271519.vBRFJ4qV055320@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Wed Dec 27 15:19:04 2017 New Revision: 457371 URL: https://svnweb.freebsd.org/changeset/ports/457371 Log: lang/beignet: workaround broken llvm-config50 --system-libs /usr/bin/ld: cannot find -l/usr/lib/libexecinfo.so Inspired by: devel/libclc fix from r457263 Modified: head/lang/beignet/files/patch-CMake_FindLLVM.cmake (contents, props changed) Modified: head/lang/beignet/files/patch-CMake_FindLLVM.cmake ============================================================================== --- head/lang/beignet/files/patch-CMake_FindLLVM.cmake Wed Dec 27 14:14:59 2017 (r457370) +++ head/lang/beignet/files/patch-CMake_FindLLVM.cmake Wed Dec 27 15:19:04 2017 (r457371) @@ -28,3 +28,13 @@ endif (LLVM_INSTALL_DIR) execute_process( +@@ -100,6 +100,9 @@ execute_process( + OUTPUT_STRIP_TRAILING_WHITESPACE + ) + if (LLVM_SYSTEM_LIBS_ORIG) ++# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223191#c3 ++string(REPLACE "-l/usr/lib/libexecinfo.so" "-lexecinfo" ++ LLVM_SYSTEM_LIBS_ORIG ${LLVM_SYSTEM_LIBS_ORIG}) + string(REGEX REPLACE " *\n" "" LLVM_SYSTEM_LIBS ${LLVM_SYSTEM_LIBS_ORIG}) + endif (LLVM_SYSTEM_LIBS_ORIG) + endif (LLVM_VERSION_NODOT VERSION_GREATER 34)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712271519.vBRFJ4qV055320>