[clasp] 04/05: Use pkg-config to get libdir / includedir of tbb

Thomas Krennwallner tkren-guest at moszumanska.debian.org
Sat Sep 26 07:40:29 UTC 2015


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

tkren-guest pushed a commit to branch devel
in repository clasp.

commit 187512d956a6a594f5feccae6834a16e3f34827f
Author: Thomas Krennwallner <tkren at kr.tuwien.ac.at>
Date:   Sat Sep 26 08:47:59 2015 +0200

    Use pkg-config to get libdir / includedir of tbb
---
 debian/rules | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index d1abb3d..4913d18 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,7 +20,9 @@ CONFIG=hardening
 CONFIGPARMS = --prefix=/usr
 TOPBUILDDIR = build/$(CONFIG)
 ifeq ($(and $(if $(os),good), $(if $(arch),good)), good)
-	CONFIGPARMS += --with-mt TBB_INCLUDE=/usr/include TBB_LIB=/usr/lib
+	TBBINCLUDEDIR=$(shell pkg-config --variable=includedir tbb)
+	TBBLIBDIR=$(shell pkg-config --variable=libdir tbb)
+	CONFIGPARMS += --with-mt TBB_INCLUDE=$(TBBINCLUDEDIR) TBB_LIB=$(TBBLIBDIR)
 	TOPBUILDDIR = build/$(CONFIG)_mt
 endif
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/clasp.git



More information about the debian-science-commits mailing list