It is keyworded for ~amd64-linux, but it contains "--libdir=/usr/$(get_libdir)", which causes it to install things outside of the prefix. It uses EAPI=2, so I did a bump to EAPI=3 and changed that line to be "--libdir=${EPREFIX}/usr/$(get_libdir)". This enables it to work.
This ebuild is not keyworded. I had used ecopy on it, which is why I mistook it for being keyworded. Here is a diff of the changes that I made to make this work: --- gentoo/usr/portage/sci-visualization/opendx/opendx-4.4.4-r4.ebuild 2010-11-18 22:03:53.000000000 -0800 +++ gentoo/usr/local/portage/sci-visualization/opendx/opendx-4.4.4-r4.ebuild 2012-02-14 20:20:22.118722428 -0800 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sci-visualization/opendx/opendx-4.4.4-r4.ebuild,v 1.8 2010/11/19 05:45:02 bicatali Exp $ -EAPI=2 +EAPI=3 inherit eutils flag-o-matic autotools @@ -13,7 +13,7 @@ SRC_URI="http://opendx.sdsc.edu/source/$ LICENSE="IBM" SLOT="0" -KEYWORDS="amd64 ppc x86" +KEYWORDS="~amd64-linux" IUSE="hdf cdf netcdf tiff imagemagick szip smp" @@ -64,7 +64,7 @@ src_configure() { # javadx is currently broken. we may try to fix it someday. econf \ - --libdir=/usr/$(get_libdir) \ + --libdir=${EPREFIX}/usr/$(get_libdir) \ --with-x \ --without-javadx \ $(use_with szip szlib) \
Richard, looks good to me. sci: please apply this but add ~amd64-linux instead of replace. Thanks.
+ 15 Feb 2012; Kacper Kowalik <xarthisius@gentoo.org> opendx-4.4.4-r4.ebuild: + Add prefix love. Thanks to Richard Yao <ryao@cs.stonybrook.edu> for the patch. + Fixes bug 403771