Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=dex77stuff.git;a=commitdiff;h=d609e9a05dabb7e32cef93658b08f311fda7648c

commit d609e9a05dabb7e32cef93658b08f311fda7648c
Author: DeX77 <[email protected]>
Date:   Sun Jul 26 12:47:41 2015 +0200

llvm-3.6.9999.g5e7aab0-0-x86_64

* also bump clang

diff --git a/source/devel/llvm/FrugalBuild b/source/devel/llvm/FrugalBuild
index 8c184ef..4736486 100644
--- a/source/devel/llvm/FrugalBuild
+++ b/source/devel/llvm/FrugalBuild
@@ -33,14 +33,12 @@ else
signatures=("${source[0]}.sig" "${source[1]}.sig" "" "" "")
fi

-if ! Fuse DEVEL; then
-       subpkgs=("${subpkgs[@]}" "clang")
-       subdescs=("${subdescs[@]}" "C language family frontend for LLVM")
-       subdepends=("${subdepends[@]}" "")
-       subrodepends=("${subrodepends[@]}" "$pkgname=$pkgver")
-       subgroups=("${subgroups[@]}" 'devel-extra')
-       subarchs=("${subarchs[@]}" "${archs[*]}")
-fi
+subpkgs=("${subpkgs[@]}" "clang")
+subdescs=("${subdescs[@]}" "C language family frontend for LLVM")
+subdepends=("${subdepends[@]}" "")
+subrodepends=("${subrodepends[@]}" "$pkgname=$pkgver")
+subgroups=("${subgroups[@]}" 'devel-extra')
+subarchs=("${subarchs[@]}" "${archs[*]}")

subpkgs=("${subpkgs[@]}" "$pkgname-ocaml")
subdescs=("${subdescs[@]}" "OCaml bindings for LLVM")
@@ -80,6 +78,10 @@ build() {
if ! Fuse DEVEL; then
# clang must be copied here to build with llvm
Fexec mv -f ../cfe-${_F_archive_ver}/ tools/clang || Fdie
+       else
+               Fexec cd tools
+               Fexec git clone https://github.com/llvm-mirror/clang.git
+               Fexec cd ..
fi

Fpatchall
@@ -101,9 +103,7 @@ build() {
Fexec make -C ../docs -f Makefile.sphinx man
Fexec make -C ../docs -f Makefile.sphinx html

-       if ! Fuse DEVEL; then
-               Fexec make -C ../tools/clang/docs -f Makefile.sphinx html
-       fi
+       Fexec make -C ../tools/clang/docs -f Makefile.sphinx html

_F_make_opts="-j1"
Fmakeinstall
@@ -118,21 +118,19 @@ build() {
#Fcp ${_F_cd_path}/docs/_build/html/* usr/share/doc/$pkgname-$pkgver/html/
#Frm usr/share/doc/$pkgname-$pkgver/html/_sources

-       if ! Fuse DEVEL; then
-               # Install html docs of clang
-               Fmkdir usr/share/doc/$pkgname-$pkgver/html/clang
-               Fcp ${_F_cd_path}/tools/clang/docs/_build/html/* 
usr/share/doc/$pkgname-$pkgver/html/clang
-               Frm usr/share/doc/$pkgname-$pkgver/html/clang/_sources
-
-               Fsplit clang usr/bin/clang*
-               Fsplit clang usr/bin/c-index-test
-               Fsplit clang usr/include/clang*
-               Fsplit clang usr/lib/clang/
-               Fsplit clang usr/lib/libclang*
-               Fsplit clang usr/share/man/man1/clang*
-               Fsplit clang usr/share/doc/$pkgname-$pkgver/html/clang/
-               Fsplit clang usr/share/doc/$pkgname-$pkgver/ps/clang.ps
-       fi
+       # Install html docs of clang
+       #Fmkdir usr/share/doc/$pkgname-$pkgver/html/clang
+       #Fcp ${_F_cd_path}/tools/clang/docs/_build/html/* 
usr/share/doc/$pkgname-$pkgver/html/clang
+       #Frm usr/share/doc/$pkgname-$pkgver/html/clang/_sources
+
+       Fsplit clang usr/bin/clang*
+       Fsplit clang usr/bin/c-index-test
+       Fsplit clang usr/include/clang*
+       Fsplit clang usr/lib/clang/
+       Fsplit clang usr/lib/libclang*
+       #Fsplit clang usr/share/man/man1/clang*
+       #Fsplit clang usr/share/doc/$pkgname-$pkgver/html/clang/
+       #Fsplit clang usr/share/doc/$pkgname-$pkgver/ps/clang.ps

Fsplit $pkgname-ocaml usr/lib/ocaml/
Fsplit $pkgname-ocaml usr/share/doc/$pkgname-$pkgver/ocamldoc/
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to