[clblas] 03/10: d/rules: use SUFFIX_LIB cmake option to provide multiarch install path

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Oct 28 11:52:34 UTC 2015


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

ghisvail-guest pushed a commit to branch debian/sid
in repository clblas.

commit 8b3de5c5dce6cdf4c47bc608b4ba1edbb06e5737
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Tue Oct 27 10:42:08 2015 +0000

    d/rules: use SUFFIX_LIB cmake option to provide multiarch install path
---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index 05fb595..22d8f0b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,6 +11,7 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
 # Environment information.
 DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 # Build without Altivec to prevent FTBFS on ppc64el.
 ifeq ($(DEB_HOST_ARCH),ppc64el)
@@ -30,6 +31,7 @@ override_dh_auto_configure:
 		-DBUILD_CLIENT=ON \
 		-DBUILD_KTEST=OFF \
 		-DBUILD_SHARED_LIBS=ON \
+		-DSUFFIX_LIB=/${DEB_HOST_MULTIARCH}
 
 override_dh_auto_build:
 	dh_auto_build

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



More information about the debian-science-commits mailing list