diff options
author | Markus Dittrich <markusle@gentoo.org> | 2007-12-11 02:21:24 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2007-12-11 02:21:24 +0000 |
commit | a890cc0c6145efad84c26eceb80193cb90a37f2a (patch) | |
tree | deffcf03851298ab131009d5213b985d427e552a /media-libs/qhull | |
parent | whitespace (diff) | |
download | gentoo-2-a890cc0c6145efad84c26eceb80193cb90a37f2a.tar.gz gentoo-2-a890cc0c6145efad84c26eceb80193cb90a37f2a.tar.bz2 gentoo-2-a890cc0c6145efad84c26eceb80193cb90a37f2a.zip |
Restrict compilation flags on amd64 to -O1 since -O2 and higher generates bad code. General cleanup.
(Portage version: 2.1.4_rc9)
Diffstat (limited to 'media-libs/qhull')
-rw-r--r-- | media-libs/qhull/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/qhull/files/digest-qhull-2003.1-r1 | 3 | ||||
-rw-r--r-- | media-libs/qhull/qhull-2003.1-r1.ebuild | 36 |
3 files changed, 47 insertions, 1 deletions
diff --git a/media-libs/qhull/ChangeLog b/media-libs/qhull/ChangeLog index 6f46fab8d70c..14012e6db76a 100644 --- a/media-libs/qhull/ChangeLog +++ b/media-libs/qhull/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-libs/qhull # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/qhull/ChangeLog,v 1.21 2007/11/18 13:15:43 markusle Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/qhull/ChangeLog,v 1.22 2007/12/11 02:21:23 markusle Exp $ + +*qhull-2003.1-r1 (10 Dec 2007) + + 10 Dec 2007; Markus Dittrich <markusle@gentoo.org> + +qhull-2003.1-r1.ebuild: + Restrict compilation flags on amd64 to -O1 since -O2 and higher + generates bad code. General cleanup. 18 Nov 2007; Markus Dittrich <markusle@gentoo.org> files/qhull-3.1-makefile.patch, metadata.xml, qhull-3.1-r1.ebuild, diff --git a/media-libs/qhull/files/digest-qhull-2003.1-r1 b/media-libs/qhull/files/digest-qhull-2003.1-r1 new file mode 100644 index 000000000000..5bc0af7dca21 --- /dev/null +++ b/media-libs/qhull/files/digest-qhull-2003.1-r1 @@ -0,0 +1,3 @@ +MD5 48228e26422bff85ef1f45df5b6e3314 qhull-2003.1.tar.gz 724313 +RMD160 6c82ad27601f9aa12498e3bc08f06c7b777a5f4d qhull-2003.1.tar.gz 724313 +SHA256 68725c96603a426da748d38d0f83e7a9dd6a0bfc483525debe04001846475b0b qhull-2003.1.tar.gz 724313 diff --git a/media-libs/qhull/qhull-2003.1-r1.ebuild b/media-libs/qhull/qhull-2003.1-r1.ebuild new file mode 100644 index 000000000000..36a294b2608a --- /dev/null +++ b/media-libs/qhull/qhull-2003.1-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/qhull/qhull-2003.1-r1.ebuild,v 1.1 2007/12/11 02:21:23 markusle Exp $ + +inherit eutils flag-o-matic + +MY_P="${PN}${PV}" +DESCRIPTION="Geometry library" +HOMEPAGE="http://www.qhull.org" +SRC_URI="${HOMEPAGE}/download/${P}.tar.gz" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~x86 ~sparc ~ppc ~amd64" +IUSE="" + +src_compile() { + # anything beyond -O1 leads to bad code in libqhull on amd64 + # with gcc-4.2 + if [[ "${ARCH}" == "amd64" ]]; then + replace-flags -O? -O1 + fi + + econf || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + + rm -fr "${D}"/usr/share/doc/${PN} + dodoc Announce.txt .txt File_id.diz README.txt REGISTER.txt + cd html + dohtml * + dodoc *.txt +} |