Please have a look at the diff below. The two patches can be found on overlays here: http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay/sci-libs/qrupdate/files If you are ok, I will commit as 1.1.0-r1 due to the rather significant changes in the way the thing is installed. --- qrupdate-1.1.0.ebuild +++ qrupdate-1.1.0.ebuild @@ -4,7 +4,7 @@ EAPI="2" -inherit eutils fortran +inherit eutils fortran multilib DESCRIPTION="A library for fast updating of QR and Cholesky decompositions" HOMEPAGE="http://sourceforge.net/projects/qrupdate" @@ -12,7 +12,7 @@ LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" IUSE="" RDEPEND="virtual/blas @@ -24,6 +24,9 @@ src_prepare() { epatch "${FILESDIR}"/${PN}-1.0.1-makefile.patch + # I mailed both patches below to the author -- grobian 2010-01-18 + epatch "${FILESDIR}"/${PN}-1.1.0-darwin-dylib.patch + epatch "${FILESDIR}"/${PN}-1.1.0-destdir.patch local BLAS_LIBS="$(pkg-config --libs blas)" local LAPACK_LIBS="$(pkg-config --libs lapack)" @@ -33,6 +36,7 @@ -e "s:FFLAGS=.*:FFLAGS=${FFLAGS}:" \ -e "s:BLAS=.*:BLAS=${BLAS_LIBS}:" \ -e "s:LAPACK=.*:LAPACK=${LAPACK_LIBS}:" \ + -e "/^LIBDIR=/a\PREFIX=${EPREFIX}/usr" \ || die "Failed to set up Makeconf" } @@ -41,8 +45,7 @@ } src_install() { - dolib.so libqrupdate.so \ - || die "Failed to install libqrupdate.so" + emake DESTDIR="${D}" install-shlib || die "emake install failed" dodoc README ChangeLog || die "dodoc failed" }
the darwin patch got applied: http://qrupdate.svn.sourceforge.net/viewvc/qrupdate?view=rev&revision=21 the destdir patch hopefully also will once the author agrees that it is useful to have
ok, destdir patch got applied as well: http://qrupdate.svn.sourceforge.net/viewvc/qrupdate?view=rev&revision=22
(In reply to comment #2) > ok, destdir patch got applied as well: > > http://qrupdate.svn.sourceforge.net/viewvc/qrupdate?view=rev&revision=22 > Hi Fabian. Feel free to bump! Otherwise I'll pick up your changes to the ebuild once I bump the package since upstream seems to have incorporated your patches. cheers, Markus
thanks, committed as -r1