[pocl] 13/14: add and use ${LLVM:Version} substvar

Andreas Beckmann anbe at moszumanska.debian.org
Mon Apr 25 09:11:33 UTC 2016


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

anbe pushed a commit to branch master
in repository pocl.

commit 478f088538839f8573599ee45b8b982ac71f9264
Author: Andreas Beckmann <anbe at debian.org>
Date:   Mon Apr 25 04:14:57 2016 +0200

    add and use ${LLVM:Version} substvar
---
 debian/control | 2 +-
 debian/rules   | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 4fd3aba..814a624 100644
--- a/debian/control
+++ b/debian/control
@@ -66,7 +66,7 @@ Pre-Depends:
  ${misc:Pre-Depends}
 Depends:
  libpocl1-common (= ${source:Version}),
- clang-3.5,
+ clang-${LLVM:Version},
  ${shlibs:Depends},
  ${misc:Depends}
 Recommends:
diff --git a/debian/rules b/debian/rules
index 6c35faa..e29f180 100755
--- a/debian/rules
+++ b/debian/rules
@@ -91,6 +91,9 @@ override_dh_makeshlibs:
 		exit 1 ; \
 	fi
 
+override_dh_gencontrol:
+	dh_gencontrol -- -V'LLVM:Version=$(LLVM_VERSION)'
+
 fix-symbols:
 	pkgkde-getbuildlogs
 	echo "pkgkde-symbolshelper batchpatch -v $(shell dpkg-parsechangelog --show-field Version | sed -e 's/-[^-]*$$//') pocl_$(shell dpkg-parsechangelog --show-field Distribution)_logs/pocl_$(shell dpkg-parsechangelog --show-field Version)_*build"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/pocl.git



More information about the Pkg-opencl-commits mailing list