[med-svn] [sra-sdk] 01/02: Graham Inggs <ginggs at debian.org>

Andreas Tille tille at debian.org
Sat Apr 1 21:37:01 UTC 2017


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

tille pushed a commit to branch master
in repository sra-sdk.

commit 3553ace1ff2a48ecad82db031873ca3d2015e3fa
Author: Andreas Tille <tille at debian.org>
Date:   Sat Apr 1 23:05:17 2017 +0200

    Graham Inggs <ginggs at debian.org>
---
 debian/rules | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 1cb3a19..2d98dea 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,7 @@ pkg := sra-toolkit
 	dh $@
 
 OUTDIR=$(CURDIR)/debian/tmp
-BUILDTYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 override_dh_auto_clean:
 
@@ -23,14 +23,14 @@ override_dh_update_autotools_config:
 override_dh_auto_configure:
 	# output dir will be checked so create it before
 	mkdir -p debian/tmp/usr/lib
-	ln -s /usr/lib/$(BUILDTYPE) debian/tmp/usr/lib
+	ln -s /usr/lib/$(MULTIARCH) debian/tmp/usr/lib
 	#
         # that's no standard configure script lacking support of default options
 	#
 	# --with-debug sets some options that require header files like compiler.h which
 	# is internal to ncbi-vcb and not installed into the package - so this option
 	# should not be used.
-	./configure --build=$(BUILDTYPE) --prefix=$(CURDIR)/debian/tmp/usr --build-prefix=$(CURDIR)/debian/tmp/usr --with-ngs-sdk-prefix=/usr
+	./configure --build=$(MULTIARCH) --prefix=$(CURDIR)/debian/tmp/usr --build-prefix=$(CURDIR)/debian/tmp/usr --with-ngs-sdk-prefix=/usr
 
 override_dh_auto_build:
 	export LD_LIBRARY_PATH="$$LD_LIBRARY_PATH:$(OUTDIR)/lib"; export OUTDIR=$(OUTDIR) ; make DEB_CFLAGS="$(CFLAGS)" DEB_LDFLAGS="$(LDFLAGS)"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/sra-sdk.git



More information about the debian-med-commit mailing list