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 | c0a84e29eb0c07d57fdc4e6537d7449c780c04fc (patch) | |
tree | 99d68a103e257422f61b07492966d2700edd9b66 /dev-libs/hdf | |
parent | Added missing Amiga partition support, and keyworded ~ppc (diff) | |
download | historical-c0a84e29eb0c07d57fdc4e6537d7449c780c04fc.tar.gz historical-c0a84e29eb0c07d57fdc4e6537d7449c780c04fc.tar.bz2 historical-c0a84e29eb0c07d57fdc4e6537d7449c780c04fc.zip |
Fixing #52279 and #52169
Diffstat (limited to 'dev-libs/hdf')
-rw-r--r-- | dev-libs/hdf/ChangeLog | 6 | ||||
-rw-r--r-- | dev-libs/hdf/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/hdf/hdf-4.2.0-r3.ebuild | 10 |
3 files changed, 15 insertions, 5 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/Manifest b/dev-libs/hdf/Manifest index 65853734090d..9dbf1c3f527e 100644 --- a/dev-libs/hdf/Manifest +++ b/dev-libs/hdf/Manifest @@ -1,6 +1,6 @@ -MD5 77ef8914c866dbc216748a431cd3ec12 hdf-4.2.0-r3.ebuild 1514 +MD5 6ea452b8b858e4ab795c514d63c3d81f hdf-4.2.0-r3.ebuild 1653 MD5 3e2efb81d3ebd72d39821216301e4505 hdf-4.2.0-r2.ebuild 1468 -MD5 6a75635f33badbf89b7ed6b8d479214d ChangeLog 941 +MD5 bf52203ccf0d4cd9f45cbae710636b96 ChangeLog 1102 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 MD5 bdb6c3501721a0f1f6b81f2f9b052028 files/digest-hdf-4.2.0-r2 61 MD5 bdb6c3501721a0f1f6b81f2f9b052028 files/digest-hdf-4.2.0-r3 61 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() { |