From 0e10d859eadd7643a12b184cc0a7176ef0d4b56b Mon Sep 17 00:00:00 2001 From: root Date: Sat, 14 Apr 2012 00:01:25 +0000 Subject: Sat Apr 14 00:01:25 UTC 2012 --- extra/llvm/PKGBUILD | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'extra/llvm/PKGBUILD') 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 # Contributor: Jan "heftig" Steffens # Contributor: Sebastian Nowicki @@ -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 -- cgit v1.2.3-54-g00ecf