[openfoam] 01/04: Do not hardcode the arch-bits. (Closes: #840461)

Anton Gladky gladk at moszumanska.debian.org
Sat Oct 22 22:11:23 UTC 2016


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

gladk pushed a commit to branch master
in repository openfoam.

commit e1c659e639fb35172766f69957123147bb5136d6
Author: Anton Gladky <gladk at debian.org>
Date:   Sun Oct 23 00:05:39 2016 +0200

    Do not hardcode the arch-bits. (Closes: #840461)
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 285987d..e98f696 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,7 +21,7 @@ export MANPATH=$(CURDIR)/platforms/linux64Gcc/openmpi-1.6.5/share/man
 export MPI_ARCH_PATH=/usr/include/openmpi
 export MPI_BUFFER_SIZE=20000000
 export WM_ARCH=linux64
-export WM_ARCH_OPTION=64
+export WM_ARCH_OPTION=$(shell dpkg-architecture -qDEB_HOST_ARCH_BITS)
 export WM_LABEL_SIZE=32
 export WM_LABEL_OPTION=Int32
 export WM_CC=gcc

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



More information about the debian-science-commits mailing list