--- hdf5-1.8.2.orig 2009-03-21 14:47:49.783895590 +0100 +++ hdf5-1.8.2.ebuild 2009-03-21 14:48:39.701895143 +0100 @@ -75,6 +75,7 @@ # this is required for mpich2, and should be safe otherwise epatch "${FILESDIR}/${P}-mpich2.patch" fi + epatch "${FILESDIR}/${P}-gcc4.3.3.patch" # fix test script stuff ht_fix_file "${S}"/bin/release "${S}"/tools/h5dump/testh5dump.sh.in @@ -219,13 +220,13 @@ dohtml doc/html/* if use mpi ; then - mv "${D}"usr/bin/h5pcc "${D}"usr/bin/h5cc + mv "${ROOT}"usr/bin/h5pcc "${ROOT}"usr/bin/h5cc fi if use fortran ; then - mv "${D}"usr/bin/h5pfc "${D}"usr/bin/h5fc + mv "${ROOT}"usr/bin/h5pfc "${ROOT}"usr/bin/h5fc fi # change the SHLIB default for C - dosed "s/SHLIB:-no/SHLIB:-yes/g" "${D}"usr/bin/h5cc || die "dosed failed" + dosed "s/SHLIB:-no/SHLIB:-yes/g" "${ROOT}"usr/bin/h5cc || die "dosed failed" } pkg_postinst() { @@ -255,3 +256,4 @@ ewarn "http://www.bullopensource.org/posix for more info." elog } +