[libreoffice] 03/09: add missing build-dep on libclang-dev if enabling compiler plugins

Rene Engelhard rene at moszumanska.debian.org
Tue Jan 31 20:29:19 UTC 2017


This is an automated email from the git hooks/post-receive script.

rene pushed a commit to branch debian-experimental-5.3
in repository libreoffice.

commit 822d089ce50e76da8ce232702349ca9e6b8b5556
Author: Rene Engelhard <rene at debian.org>
Date:   Mon Jan 30 10:06:14 2017 +0100

    add missing build-dep on libclang-dev if enabling compiler plugins
---
 rules | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/rules b/rules
index f0d0e36..3b283c3 100755
--- a/rules
+++ b/rules
@@ -750,8 +750,12 @@ else
   ifeq "$(ENABLE_COMPILER_PLUGINS)" "y"
   	CONFIGURE_FLAGS += --enable-compiler-plugins
   	CLANGDIR := /usr/lib/llvm-$(shell $(CLANG) --version | head -n 1 | awk '{ print $$3 }' | cut -d. -f1,2)
-  endif
- 
+    ifeq "$(CLANG_VERSION)" "default"
+	BUILD_DEPS += , libclang-dev
+    else
+	BUILD_DEPS += , libclang-$(CLANG_VERSION)-dev
+    endif
+  endif 
 endif
 
 BUILDDEB_OPTIONS ?= -- -Zxz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openoffice/libreoffice.git



More information about the Pkg-openoffice-commits mailing list