[sundials] 01/03: Look for KLU library into the right multiarch directory.

Sébastien Villemot sebastien at debian.org
Mon Aug 28 16:28:01 UTC 2017


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

sebastien pushed a commit to branch master
in repository sundials.

commit 720646727408d01900a1ea62f6bbe81d3adb8328
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Mon Aug 28 13:12:49 2017 +0000

    Look for KLU library into the right multiarch directory.
    
    Fixes FTBFS on any-i386.
    
    Gbp-Dch: Full
---
 debian/rules | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 8f24be2..f18930e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,7 @@ export OMPI_MCA_plm_rsh_agent=/bin/false
 
 export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow
 
-DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 extra_flags +=						\
    -DCMAKE_Fortran_COMPILER=gfortran			\
@@ -23,7 +23,7 @@ extra_flags +=						\
                                                         \
    -DKLU_ENABLE:BOOL=ON					\
    -DKLU_INCLUDE_DIR=/usr/include/suitesparse		\
-   -DKLU_LIBRARY_DIR=/usr/lib/$(DEB_HOST_GNU_TYPE)	\
+   -DKLU_LIBRARY_DIR=/usr/lib/$(DEB_HOST_MULTIARCH)	\
                                                         \
    -DPETSC_ENABLE:BOOL=ON				\
                                                         \

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



More information about the debian-science-commits mailing list