summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/refmac/refmac-5.6.0110.ebuild')
-rw-r--r--sci-chemistry/refmac/refmac-5.6.0110.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/sci-chemistry/refmac/refmac-5.6.0110.ebuild b/sci-chemistry/refmac/refmac-5.6.0110.ebuild
index 0222f07faf31..63bb36965c7a 100644
--- a/sci-chemistry/refmac/refmac-5.6.0110.ebuild
+++ b/sci-chemistry/refmac/refmac-5.6.0110.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/refmac/refmac-5.6.0110.ebuild,v 1.1 2011/02/26 11:30:08 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/refmac/refmac-5.6.0110.ebuild,v 1.2 2011/04/21 07:08:54 jlec Exp $
EAPI="2"
@@ -30,8 +30,8 @@ DEPEND="${RDEPEND}"
S="${WORKDIR}"
PATCHES=(
-# "${FILESDIR}"/${PV}-allow-dynamic-linking.patch
- "${FILESDIR}"/5.6.0102-allow-dynamic-linking.patch
+ "${FILESDIR}"/${PV}-allow-dynamic-linking.patch
+
)
src_prepare() {
@@ -48,7 +48,7 @@ src_compile() {
FOPTIM="${FFLAGS:- -O2}" \
VERSION="" \
XFFLAGS="-fno-second-underscore -fwhole-file" \
- LLIBCCP="-lccp4f -lccp4c -lccif -lmmdb -lstdc++" \
+ LLIBCCP="-lccp4f -lccp4c -lccif $(pkg-config --libs mmdb) -lstdc++" \
LLIBLAPACK="$(pkg-config --libs lapack blas)" \
|| die
}