aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-visualization/opendx/opendx-4.4.4-r2.ebuild')
-rw-r--r--sci-visualization/opendx/opendx-4.4.4-r2.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/sci-visualization/opendx/opendx-4.4.4-r2.ebuild b/sci-visualization/opendx/opendx-4.4.4-r2.ebuild
index cb992117a..39acb57ca 100644
--- a/sci-visualization/opendx/opendx-4.4.4-r2.ebuild
+++ b/sci-visualization/opendx/opendx-4.4.4-r2.ebuild
@@ -44,6 +44,7 @@ src_prepare() {
epatch "${FILESDIR}/${P}-libtool.patch"
epatch "${FILESDIR}/${P}-concurrent-make-fix.patch"
epatch "${FILESDIR}/${P}-open.patch"
+ epatch "${FILESDIR}/${P}-szip.patch"
eautoreconf
}
@@ -61,12 +62,11 @@ src_configure() {
local GENTOOARCH="${ARCH}"
unset ARCH
- local morelibs=""
- use szip && morelibs="-lsz"
- econf LIBS="${morelibs}" \
+ econf \
"--libdir=/usr/$(get_libdir)" \
"--with-x" \
"--without-javadx" \
+ $(use_with szip szlib) \
$(use_with cdf) \
$(use_with netcdf) \
$(use_with hdf) \