projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45dac19
)
dev-db/lmdb: fix linking on Solaris 10
author
Fabian Groffen
<grobian@gentoo.org>
Sat, 16 Dec 2017 14:38:53 +0000
(15:38 +0100)
committer
Fabian Groffen
<grobian@gentoo.org>
Sat, 16 Dec 2017 20:58:24 +0000
(21:58 +0100)
Package-Manager: Portage-2.3.18-prefix, Repoman-2.3.6
dev-db/lmdb/lmdb-0.9.19.ebuild
patch
|
blob
|
history
diff --git
a/dev-db/lmdb/lmdb-0.9.19.ebuild
b/dev-db/lmdb/lmdb-0.9.19.ebuild
index c4452f3a228fa32a3c3570d661a4fe3ba6ae033c..116e69d4f99972d434e2996161460f5621b84ca8 100644
(file)
--- a/
dev-db/lmdb/lmdb-0.9.19.ebuild
+++ b/
dev-db/lmdb/lmdb-0.9.19.ebuild
@@
-38,6
+38,8
@@
src_configure() {
if [[ ${CHOST} == *-solaris* ]] ; then
# ensure sigwait has a second sig argument
append-cppflags -D_POSIX_PTHREAD_SEMANTICS
+ # fdatasync lives in -lrt on Solaris 10
+ [[ ${CHOST#*-solaris2.} -le 10 ]] && append-ldflags -lrt
fi
}