* [gentoo-commits] repo/gentoo:master commit in: dev-util/cmake/
@ 2016-12-25 22:00 99% Fabian Groffen
0 siblings, 0 replies; 1+ results
From: Fabian Groffen @ 2016-12-25 22:00 UTC (permalink / raw
To: gentoo-commits
commit: dcef9e9c52c6d4b9b473838c669c54ad2b418b6f
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 25 21:59:29 2016 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Dec 25 21:59:49 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcef9e9c
dev-util/cmake: fix linking on Solaris
Package-Manager: portage-2.2.28-prefix
dev-util/cmake/cmake-3.7.1.ebuild | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/dev-util/cmake/cmake-3.7.1.ebuild b/dev-util/cmake/cmake-3.7.1.ebuild
index 7bda50d..422a96f 100644
--- a/dev-util/cmake/cmake-3.7.1.ebuild
+++ b/dev-util/cmake/cmake-3.7.1.ebuild
@@ -5,7 +5,7 @@
EAPI=6
CMAKE_REMOVE_MODULES="no"
-inherit bash-completion-r1 elisp-common toolchain-funcs eutils versionator cmake-utils virtualx
+inherit bash-completion-r1 elisp-common toolchain-funcs eutils versionator cmake-utils virtualx flag-o-matic
MY_P="${P/_/-}"
@@ -135,6 +135,9 @@ src_prepare() {
}
src_configure() {
+ # Fix linking on Solaris
+ [[ ${CHOST} == *-solaris* ]] && append-ldflags -lsocket -lnsl
+
local mycmakeargs=(
-DCMAKE_USE_SYSTEM_LIBRARIES=ON
-DCMAKE_USE_SYSTEM_LIBRARY_JSONCPP=$(usex system-jsoncpp)
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2016-12-25 22:00 99% [gentoo-commits] repo/gentoo:master commit in: dev-util/cmake/ Fabian Groffen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox