From: Debian Julia Team Date: Sat, 2 Mar 2019 23:41:50 +0000 (+0000) Subject: install-julia-hack X-Git-Tag: archive/raspbian/1.0.4+dfsg-1+rpi1~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5419a198470fba57d279936a0e623bebd157f2ce;p=julia.git install-julia-hack If DESTDIR is defined in d/rules, embedded LLVM installation would break. If DESTDIR is not defined in d/rules, embedded LLVM installation works, but Julia breaks. This hack makes both LLVM and Julia happy. Gbp-Pq: Name install-julia-hack.patch --- diff --git a/Makefile b/Makefile index 688d49a..035d4b7 100644 --- a/Makefile +++ b/Makefile @@ -328,6 +328,7 @@ JL_PRIVATE_LIBS-0 += libgfortran libgcc_s libquadmath endif +override DESTDIR=./debian/tmp/ install: $(build_depsbindir)/stringreplace $(BUILDROOT)/doc/_build/html/en/index.html @$(MAKE) $(QUIET_MAKE) all @for subdir in $(bindir) $(datarootdir)/julia/stdlib/$(VERSDIR) $(docdir) $(man1dir) $(includedir)/julia $(libdir) $(private_libdir) $(sysconfdir); do \