diff options
author | Justin Lecher <jlec@gentoo.org> | 2013-02-03 18:24:15 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2013-02-03 18:24:15 +0000 |
commit | c9e685250b2b58224784b6df80948217ec33db8e (patch) | |
tree | 14e331613f926335de6e911b3d3c7fcb01bea58e /sci-chemistry/refmac | |
parent | Add support for python2.6, 3.1, 3.2. (diff) | |
download | gentoo-2-c9e685250b2b58224784b6df80948217ec33db8e.tar.gz gentoo-2-c9e685250b2b58224784b6df80948217ec33db8e.tar.bz2 gentoo-2-c9e685250b2b58224784b6df80948217ec33db8e.zip |
sci-chemistry/refmac: Drop old, fixes build problem with stable gcc, #454290
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
Diffstat (limited to 'sci-chemistry/refmac')
-rw-r--r-- | sci-chemistry/refmac/ChangeLog | 5 | ||||
-rw-r--r-- | sci-chemistry/refmac/refmac-5.5.0110-r2.ebuild | 81 |
2 files changed, 4 insertions, 82 deletions
diff --git a/sci-chemistry/refmac/ChangeLog b/sci-chemistry/refmac/ChangeLog index 11faa21c7da9..b02bcf38b817 100644 --- a/sci-chemistry/refmac/ChangeLog +++ b/sci-chemistry/refmac/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-chemistry/refmac # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/refmac/ChangeLog,v 1.54 2013/02/03 17:56:16 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/refmac/ChangeLog,v 1.55 2013/02/03 18:24:15 jlec Exp $ + + 03 Feb 2013; Justin Lecher <jlec@gentoo.org> -refmac-5.5.0110-r2.ebuild: + Drop old, fixes build problem with stable gcc, #454290 03 Feb 2013; Agostino Sarubbo <ago@gentoo.org> refmac-5.5.0110-r3.ebuild: Stable for ppc, wrt bug #454310 diff --git a/sci-chemistry/refmac/refmac-5.5.0110-r2.ebuild b/sci-chemistry/refmac/refmac-5.5.0110-r2.ebuild deleted file mode 100644 index 8d7d0f0127c8..000000000000 --- a/sci-chemistry/refmac/refmac-5.5.0110-r2.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/refmac/refmac-5.5.0110-r2.ebuild,v 1.14 2012/10/19 10:25:51 jlec Exp $ - -EAPI=2 - -inherit base fortran-2 flag-o-matic toolchain-funcs versionator - -DESCRIPTION="Macromolecular crystallographic refinement program" -HOMEPAGE="http://www.ysbl.york.ac.uk/~garib/refmac" -SRC_URI=" - ${HOMEPAGE}/data/refmac_stable/refmac_${PV}.tar.gz - test? ( http://dev.gentooexperimental.org/~jlec/distfiles/test-framework.tar.gz )" - -SLOT="0" -LICENSE="ccp4" -KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux" -IUSE="test" - -RDEPEND=" - sci-chemistry/makecif - >=sci-libs/ccp4-libs-6.1.3-r7 - sci-libs/mmdb - <sci-libs/monomer-db-1 - virtual/blas - virtual/lapack" -DEPEND="${RDEPEND}" - -FORTRAN_STANDARD="77 90" - -S="${WORKDIR}" - -PATCHES=( - "${FILESDIR}"/${PV}-allow-dynamic-linking.patch - ) - -src_prepare() { - base_src_prepare - use test && epatch "${FILESDIR}"/$(get_version_component_range 1-2 ${PV})-test.log.patch - [[ ${FC} == *gfortran* ]] && \ - append-fflags -fno-second-underscore && \ - append-cflags -DGFORTRAN -DPROTOTYPE && \ - append-libs -lgfortran -lgfortranbegin -lstdc++ - [[ ${FC} == *ifort* ]] && \ - append-libs -lstdc++ -} - -src_compile() { - emake \ - FC=$(tc-getFC) \ - CC=$(tc-getCC) \ - CXX=$(tc-getCXX) \ - COPTIM="${CFLAGS}" \ - FOPTIM="${FFLAGS:- -O2}" \ - VERSION="" \ - XFFLAGS="" \ - XCFLAGS="" \ - LLIBCCP="-lccp4f -lccp4c -lccif $(pkg-config --libs mmdb)" \ - LLIBLAPACK="$(pkg-config --libs lapack blas)" \ - LLIBOTHERS="${LIBS}" \ - ${PN} libcheck || die -} - -src_test() { - einfo "Starting tests ..." - source "${EPREFIX}/etc/profile.d/40ccp4.setup.sh" - export PATH="${WORKDIR}/test-framework/scripts:${S}:${PATH}" - export CCP4_TEST="${WORKDIR}"/test-framework - export CCP4_SCR="${T}" - ln -sf refmac "${S}"/refmac5 - sed '/^ANISOU/d' -i ${CCP4_TEST}/data/pdb/1vr7.pdb - ccp4-run-thorough-tests -v test_refmac5 || die -} - -src_install() { - exeinto /usr/libexec/ccp4/bin/ - doexe ${PN} || die - dosym ../libexec/ccp4/bin/${PN} /usr/bin/${PN} - dosym refmac /usr/bin/refmac5 || die - dodoc refmac_keywords.pdf bugs_and_features.pdf || die -} |