summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-07-02 08:56:56 +0000
committerJustin Lecher <jlec@gentoo.org>2011-07-02 08:56:56 +0000
commit0f2782b18fbfc216b6bb2fb24a7d2709a9b21559 (patch)
treef5bd465a257e614c4576b0d140440167d914ba43 /sci-chemistry/molrep
parentVersion bump thanks to Justin Lecher (bug #373737). (diff)
downloadhistorical-0f2782b18fbfc216b6bb2fb24a7d2709a9b21559.tar.gz
historical-0f2782b18fbfc216b6bb2fb24a7d2709a9b21559.tar.bz2
historical-0f2782b18fbfc216b6bb2fb24a7d2709a9b21559.zip
Use pkg-config to detect mmdb and lapack libs
Package-Manager: portage-2.2.0_alpha43/cvs/Linux x86_64
Diffstat (limited to 'sci-chemistry/molrep')
-rw-r--r--sci-chemistry/molrep/ChangeLog6
-rw-r--r--sci-chemistry/molrep/metadata.xml8
-rw-r--r--sci-chemistry/molrep/molrep-11.0.02.ebuild4
3 files changed, 11 insertions, 7 deletions
diff --git a/sci-chemistry/molrep/ChangeLog b/sci-chemistry/molrep/ChangeLog
index 8649ee40d740..6edd0f6248f4 100644
--- a/sci-chemistry/molrep/ChangeLog
+++ b/sci-chemistry/molrep/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-chemistry/molrep
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/molrep/ChangeLog,v 1.17 2011/06/28 19:49:30 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/molrep/ChangeLog,v 1.18 2011/07/02 08:55:01 jlec Exp $
+
+ 02 Jul 2011; Justin Lecher <jlec@gentoo.org> molrep-11.0.02.ebuild,
+ metadata.xml:
+ Use pkg-config to detect mmdb and lapack libs
28 Jun 2011; Brent Baude <ranger@gentoo.org> molrep-11.0.02.ebuild:
Marking molrep-11.0.02 ppc for bug 352065
diff --git a/sci-chemistry/molrep/metadata.xml b/sci-chemistry/molrep/metadata.xml
index dde7ca88a50f..1837bbc07a6e 100644
--- a/sci-chemistry/molrep/metadata.xml
+++ b/sci-chemistry/molrep/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>sci-chemistry</herd>
-<maintainer>
- <email>jlec@gentoo.org</email>
-</maintainer>
+ <herd>sci-chemistry</herd>
+ <maintainer>
+ <email>jlec@gentoo.org</email>
+ </maintainer>
</pkgmetadata>
diff --git a/sci-chemistry/molrep/molrep-11.0.02.ebuild b/sci-chemistry/molrep/molrep-11.0.02.ebuild
index 5f66539eda95..237be9858c53 100644
--- a/sci-chemistry/molrep/molrep-11.0.02.ebuild
+++ b/sci-chemistry/molrep/molrep-11.0.02.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-chemistry/molrep/molrep-11.0.02.ebuild,v 1.7 2011/06/28 19:49:30 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/molrep/molrep-11.0.02.ebuild,v 1.8 2011/07/02 08:55:01 jlec Exp $
EAPI="3"
@@ -37,7 +37,7 @@ src_compile() {
MR_FORT="$(tc-getFC) ${FFLAGS}" \
FFLAGS="${FFLAGS}" \
LDFLAGS="${LDFLAGS}" \
- MR_LIBRARY="-L${EPREFIX}/usr/$(get_libdir) -lccp4f -lccp4c -lmmdb -lccif -llapack -lstdc++ -lm" \
+ MR_LIBRARY="-L${EPREFIX}/usr/$(get_libdir) -lccp4f -lccp4c $(pkg-config --libs mmdb lapack) -lccif -lstdc++ -lm" \
|| die
}