summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2011-03-15 16:58:35 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2011-03-15 16:58:35 +0000
commit7400aee622588702f2839ceba0c11d46181c4e2a (patch)
treef80fa03f796911acfaf42df7fbd24db5db2a3188 /sci-libs/scotch
parentVersion bump, bug 355303, fixes also bug 352724. (diff)
downloadgentoo-2-7400aee622588702f2839ceba0c11d46181c4e2a.tar.gz
gentoo-2-7400aee622588702f2839ceba0c11d46181c4e2a.tar.bz2
gentoo-2-7400aee622588702f2839ceba0c11d46181c4e2a.zip
Added linking with zlib, librt and libm for as-needed
(Portage version: 2.1.9.43/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/scotch')
-rw-r--r--sci-libs/scotch/ChangeLog5
-rw-r--r--sci-libs/scotch/scotch-5.1.11.ebuild4
2 files changed, 6 insertions, 3 deletions
diff --git a/sci-libs/scotch/ChangeLog b/sci-libs/scotch/ChangeLog
index 8b19f386b1d8..33e2dd4a6d28 100644
--- a/sci-libs/scotch/ChangeLog
+++ b/sci-libs/scotch/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-libs/scotch
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/scotch/ChangeLog,v 1.3 2011/03/05 00:27:49 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/scotch/ChangeLog,v 1.4 2011/03/15 16:58:35 bicatali Exp $
+
+ 15 Mar 2011; Sébastien Fabbro <bicatali@gentoo.org> scotch-5.1.11.ebuild:
+ Added linking with zlib, librt and libm for as-needed
*scotch-5.1.11 (05 Mar 2011)
diff --git a/sci-libs/scotch/scotch-5.1.11.ebuild b/sci-libs/scotch/scotch-5.1.11.ebuild
index 5f0833474188..2943168ac01e 100644
--- a/sci-libs/scotch/scotch-5.1.11.ebuild
+++ b/sci-libs/scotch/scotch-5.1.11.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/scotch/scotch-5.1.11.ebuild,v 1.1 2011/03/05 00:27:49 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/scotch/scotch-5.1.11.ebuild,v 1.2 2011/03/15 16:58:35 bicatali Exp $
EAPI=4
@@ -33,7 +33,7 @@ make_shared_lib() {
${2:-$(tc-getCC)} ${LDFLAGS} \
-shared -Wl,-soname="${soname}" \
-Wl,--whole-archive "${1}" -Wl,--no-whole-archive \
- -o $(dirname "${1}")/"${soname}" || return 1
+ -lz -lm -lrt -o $(dirname "${1}")/"${soname}" || return 1
}
src_prepare() {