[kde-freebsd] [Bug 208120] devel/cmake strips necessary rpath when installing any gnu compiler from ports

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jun 9 18:27:53 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208120

--- Comment #11 from Diane Bruce <db at FreeBSD.org> ---
Simpler fix to compiler.mk

Index: compiler.mk
===================================================================
--- compiler.mk (revision 416615)
+++ compiler.mk (working copy)
@@ -248,3 +248,7 @@
 .endif

 .endif
+
+.if ${CHOSEN_COMPILER_TYPE == gcc }
+CMAKE_ARGS+=   -DCMAKE_INSTALL_RPATH:STRING="${LOCALBASE}/lib/gcc${_GCC_VER}"
+.endif

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list