From: Debian Julia Team Date: Fri, 17 May 2019 09:01:01 +0000 (+0100) Subject: install-julia-hack X-Git-Tag: archive/raspbian/1.0.4+dfsg-1+rpi1^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a24dc169570cc8d9191255ed8cb938545882f86a;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 \