aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@gmail.com>2013-07-02 23:17:47 -0400
committerGuillaume Horel <guillaume.horel@gmail.com>2013-07-02 23:17:47 -0400
commitf4608f0bfa70eb0e930c0603fa997c097e2dbec2 (patch)
treed0bdc6720e7b3ca38e471ca2a6d7f258cfd58f5d /dev-lang/julia
parentsci-libs/openlibm update patches (diff)
downloadsci-f4608f0bfa70eb0e930c0603fa997c097e2dbec2.tar.gz
sci-f4608f0bfa70eb0e930c0603fa997c097e2dbec2.tar.bz2
sci-f4608f0bfa70eb0e930c0603fa997c097e2dbec2.zip
dev-lang/julia update ebuild so that it builds
Diffstat (limited to 'dev-lang/julia')
-rw-r--r--dev-lang/julia/julia-9999.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-lang/julia/julia-9999.ebuild b/dev-lang/julia/julia-9999.ebuild
index 9cbbb8bf5..99aa27aa9 100644
--- a/dev-lang/julia/julia-9999.ebuild
+++ b/dev-lang/julia/julia-9999.ebuild
@@ -27,6 +27,7 @@ RDEPEND=">=sys-devel/llvm-3.0
>=dev-libs/double-conversion-1.1.1
>=sys-libs/libunwind-1.1
dev-libs/libpcre
+ sci-libs/openlibm
sci-mathematics/glpk
sys-libs/zlib
virtual/blas
@@ -36,7 +37,7 @@ DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
- epatch "${FILESDIR}/julia-nopatchelf.patch"
+ #epatch "${FILESDIR}/julia-nopatchelf.patch"
# Folder /usr/include/suitesparse does not exists, everything should be in /usr/include
sed -e "s|SUITESPARSE_INC = -I /usr/include/suitesparse|SUITESPARSE_INC = |g" \
-i deps/Makefile
@@ -48,6 +49,8 @@ src_prepare() {
sed -i \
-e 's|\(USE_SYSTEM_.*\)=.*|\1=1|g' \
+ -e 's|\(USE_SYSTEM_LIBUV\)=.*|\1=0|g' \
+ -e 's|\(USE_SYSTEM_LIBM\)=.*|\1=0|g' \
-e "s|-lblas|$($(tc-getPKG_CONFIG) --libs blas)|" \
-e "s|-llapack|$($(tc-getPKG_CONFIG) --libs lapack)|" \
-e "s|liblapack|${lapackname}|" \