-MD5 476b9ff044c3fbfc98e65e2cb568afc1 hdf-4.2.0-r3.ebuild 1645
-MD5 62e68d9c2222e914a7ed7babaa9532b6 hdf-4.2.0-r2.ebuild 1459
MD5 1b34783073eb8dc69d1ae6797150c763 ChangeLog 1094
+MD5 62e68d9c2222e914a7ed7babaa9532b6 hdf-4.2.0-r2.ebuild 1459
MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
+MD5 08c41c112c61d6e345c509da1d856dfe hdf-4.2.0-r3.ebuild 1702
MD5 bdb6c3501721a0f1f6b81f2f9b052028 files/digest-hdf-4.2.0-r2 61
MD5 bdb6c3501721a0f1f6b81f2f9b052028 files/digest-hdf-4.2.0-r3 61
# Copyright 1999-2004 Gentoo Foundation
# 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.3 2004/06/24 23:12:11 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/hdf/hdf-4.2.0-r3.ebuild,v 1.4 2004/09/25 11:35:40 pvdabeel Exp $
+
+inherit flag-o-matic
# substitute second dot by "r"
MY_PV=${PV/./X}
HOMEPAGE="http://hdf.ncsa.uiuc.edu/hdf4.html"
LICENSE="NCSA-HDF"
-KEYWORDS="~x86 ~amd64"
+KEYWORDS="~x86 ~amd64 ppc"
SLOT="0"
IUSE="szip"
src_compile() {
local myconf="--enable-production"
use szip && myconf="${myconf} --with-szlib=/usr"
+ use ppc && append-flags -DSUN
econf ${myconf} || die "configure failed"
make LDFLAGS="-lm" || die "make failed"
}