--- hdf5-1.6.7.ebuild 2008-08-17 17:25:52.000000000 +0200 +++ hdf5-1.8.1.ebuild 2008-09-28 10:56:20.000000000 +0200 @@ -64,10 +64,10 @@ unpack ${A} cd "${S}" - epatch "${FILESDIR}"/${PN}-1.6.6-gcc4.3.patch + epatch "${FILESDIR}"/${P}-gcc4.3.patch if use mpi; then # this is required for mpich2, and should be safe otherwise - epatch "${FILESDIR}/${PN}-mpich2.patch" + epatch "${FILESDIR}/${P}-mpich2.patch" fi # fix test script stuff