diff options
author | Matthias Maier <tamiko@gentoo.org> | 2017-07-26 19:40:09 -0500 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2017-07-26 19:40:55 -0500 |
commit | 3dd17585c7a828a49b0fe6e4aa25ebd28108905e (patch) | |
tree | 5b2840d64348de88fcb39c4f1236b90de6e6b2ad | |
parent | dev-embedded/stlink: Add stlink utility (diff) | |
download | gentoo-3dd17585c7a828a49b0fe6e4aa25ebd28108905e.tar.gz gentoo-3dd17585c7a828a49b0fe6e4aa25ebd28108905e.tar.bz2 gentoo-3dd17585c7a828a49b0fe6e4aa25ebd28108905e.zip |
dev-lang/julia: finish 0.6.0 ebuild, add git workaround
Package-Manager: Portage-2.3.6, Repoman-2.3.3
-rw-r--r-- | dev-lang/julia/julia-0.6.0.ebuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/dev-lang/julia/julia-0.6.0.ebuild b/dev-lang/julia/julia-0.6.0.ebuild index 9fc210dd85bb..ad2d8dbe8e0c 100644 --- a/dev-lang/julia/julia-0.6.0.ebuild +++ b/dev-lang/julia/julia-0.6.0.ebuild @@ -16,8 +16,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -#KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -KEYWORDS="" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" IUSE="" RDEPEND=" @@ -36,7 +35,7 @@ RDEPEND=" >=dev-libs/libpcre2-10.23:0=[jit] sci-libs/umfpack:0= sci-mathematics/glpk:0= - >=sys-devel/llvm-3.9:0= + >=sys-devel/llvm-3.9:= >=sys-libs/libunwind-1.1:7= sys-libs/readline:0= sys-libs/zlib:0= @@ -155,6 +154,11 @@ src_test() { } src_install() { + # Julia is special. It tries to find a valid git repository (that would + # normally be cloned during compilation/installation). Just make it + # happy... + git init && git commit -a --allow-empty -m "initial" || die "git failed" + emake install \ prefix="/usr" DESTDIR="${D}" CC="$(tc-getCC)" CXX="$(tc-getCXX)" cat > 99julia <<-EOF |