diff options
Diffstat (limited to 'extra/llvm/PKGBUILD')
-rw-r--r-- | extra/llvm/PKGBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/extra/llvm/PKGBUILD b/extra/llvm/PKGBUILD index 82cb21881..89ecadbd6 100644 --- a/extra/llvm/PKGBUILD +++ b/extra/llvm/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 151494 2012-02-26 18:15:27Z foutrelis $ +# $Id: PKGBUILD 156067 2012-04-12 16:34:12Z foutrelis $ # Maintainer: Evangelos Foutras <evangelos@foutrelis.com> # Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com> # Contributor: Sebastian Nowicki <sebnow@gmail.com> @@ -104,8 +104,11 @@ package_llvm() { # We move the clang directory out of the tree so it won't get installed and # then we bring it back in for the clang package mv tools/clang "$srcdir" + # Copy missing file into the expected location - cp bindings/ocaml/llvm/META.llvm bindings/ocaml/llvm/Release/ + [[ $(check_option strip) == y ]] && _build_type=Release || _build_type=Debug + cp bindings/ocaml/llvm/META.llvm bindings/ocaml/llvm/$_build_type/ + # -j1 is due to race conditions during the installation of the OCaml bindings make -j1 DESTDIR="$pkgdir" install mv "$srcdir/clang" tools |