summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2012-02-15 10:24:29 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2012-02-15 10:24:29 +0000
commit79c94647e229a282c3c6b0f683c3ce0d49cdc224 (patch)
tree567792a600c9ff73f5085bb17e3f1f938e3619c8 /sci-visualization/opendx
parentVersion bump pytest to 2.2.3. (diff)
downloadgentoo-2-79c94647e229a282c3c6b0f683c3ce0d49cdc224.tar.gz
gentoo-2-79c94647e229a282c3c6b0f683c3ce0d49cdc224.tar.bz2
gentoo-2-79c94647e229a282c3c6b0f683c3ce0d49cdc224.zip
Add prefix love. Thanks to Richard Yao <ryao@cs.stonybrook.edu> for the patch. Fixes bug 403771
(Portage version: 2.2.0_alpha86/cvs/Linux x86_64)
Diffstat (limited to 'sci-visualization/opendx')
-rw-r--r--sci-visualization/opendx/ChangeLog8
-rw-r--r--sci-visualization/opendx/opendx-4.4.4-r4.ebuild17
2 files changed, 13 insertions, 12 deletions
diff --git a/sci-visualization/opendx/ChangeLog b/sci-visualization/opendx/ChangeLog
index 86c7d370a5ac..59b71f014105 100644
--- a/sci-visualization/opendx/ChangeLog
+++ b/sci-visualization/opendx/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-visualization/opendx
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/opendx/ChangeLog,v 1.25 2010/11/19 05:45:02 bicatali Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/opendx/ChangeLog,v 1.26 2012/02/15 10:24:29 xarthisius Exp $
+
+ 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
19 Nov 2010; Sébastien Fabbro <bicatali@gentoo.org> opendx-4.4.4-r4.ebuild:
Remove the no hdri restriction on imagemagick dependency. Thanks Jaroslaw
diff --git a/sci-visualization/opendx/opendx-4.4.4-r4.ebuild b/sci-visualization/opendx/opendx-4.4.4-r4.ebuild
index 0c57af78a909..1baab9056dca 100644
--- a/sci-visualization/opendx/opendx-4.4.4-r4.ebuild
+++ b/sci-visualization/opendx/opendx-4.4.4-r4.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/opendx/opendx-4.4.4-r4.ebuild,v 1.9 2012/02/15 10:24:29 xarthisius Exp $
-EAPI=2
+EAPI=3
inherit eutils flag-o-matic autotools
@@ -12,9 +12,7 @@ SRC_URI="http://opendx.sdsc.edu/source/${P/open}.tar.gz"
LICENSE="IBM"
SLOT="0"
-
-KEYWORDS="amd64 ppc x86"
-
+KEYWORDS="amd64 ppc x86 ~amd64-linux"
IUSE="hdf cdf netcdf tiff imagemagick szip smp"
DEPEND="x11-libs/libXmu
@@ -30,11 +28,10 @@ DEPEND="x11-libs/libXmu
netcdf? ( sci-libs/netcdf )
tiff? ( media-libs/tiff )
imagemagick? ( >=media-gfx/imagemagick-5.3.4 )"
-
RDEPEND="${DEPEND}"
# waiting on bug #36349 for media-libs/jasper in imagemagick
-S="${WORKDIR}/${P/open}"
+S=${WORKDIR}/${P/open}
src_prepare() {
epatch "${FILESDIR}/${PN}-4.3.2-sys.h.patch"
@@ -64,7 +61,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) \
@@ -77,7 +74,7 @@ src_configure() {
}
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
+ emake DESTDIR="${D}" install || die
newicon src/uipp/ui/icon50.xpm ${PN}.xpm
make_desktop_entry dx "Open Data Explorer"
}