diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2004-06-02 11:36:40 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2004-06-02 11:36:40 +0000 |
commit | 99d97bdbc75bf74942c2ae6de4134a18c9ba6190 (patch) | |
tree | 5b57cf7ddaac28a170418f5a9a6d7e04c80f0cdf /dev-libs | |
parent | Added missing Amiga partition support, and keyworded ~ppc (Manifest recommit) (diff) | |
download | gentoo-2-99d97bdbc75bf74942c2ae6de4134a18c9ba6190.tar.gz gentoo-2-99d97bdbc75bf74942c2ae6de4134a18c9ba6190.tar.bz2 gentoo-2-99d97bdbc75bf74942c2ae6de4134a18c9ba6190.zip |
Fixing #52279 and #52169
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/hdf/ChangeLog | 6 | ||||
-rw-r--r-- | dev-libs/hdf/hdf-4.2.0-r3.ebuild | 10 |
2 files changed, 13 insertions, 3 deletions
diff --git a/dev-libs/hdf/ChangeLog b/dev-libs/hdf/ChangeLog index a7bfdef253f3..e479cff5addb 100644 --- a/dev-libs/hdf/ChangeLog +++ b/dev-libs/hdf/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/hdf # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/hdf/ChangeLog,v 1.6 2004/05/24 06:59:31 phosphan Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/hdf/ChangeLog,v 1.7 2004/06/02 11:36:40 phosphan Exp $ + + 02 Jun 2004; Patrick Kursawe <phosphan@gentoo.org> hdf-4.2.0-r3.ebuild: + Added check for g77 presence, see bug #52279 + Adding -lm to LDFLAGS, see bug #52169 *hdf-4.2.0-r3 (24 May 2004) diff --git a/dev-libs/hdf/hdf-4.2.0-r3.ebuild b/dev-libs/hdf/hdf-4.2.0-r3.ebuild index 321c36a8474d..dc3c09bf524c 100644 --- a/dev-libs/hdf/hdf-4.2.0-r3.ebuild +++ b/dev-libs/hdf/hdf-4.2.0-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/hdf/hdf-4.2.0-r3.ebuild,v 1.1 2004/05/24 06:59:31 phosphan Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/hdf/hdf-4.2.0-r3.ebuild,v 1.2 2004/06/02 11:36:40 phosphan Exp $ # substitute second dot by "r" MY_PV=${PV/./X} @@ -24,11 +24,17 @@ DEPEND="sys-libs/zlib >=sys-apps/sed-4 szip? ( dev-libs/szip )" +pkg_setup() { + if ! which &>/dev/null g77; then + die "g77 not found, please re-emerge gcc with f77 in your USE flags." + fi +} + src_compile() { local myconf="--enable-production" use szip && myconf="${myconf} --with-szlib=/usr" econf ${myconf} || die "configure failed" - make || die "emake failed" + make LDFLAGS="-lm" || die "make failed" } src_install() { |