[med-svn] [sra-sdk] 01/04: Try to call non-standard configure script properly

Andreas Tille tille at debian.org
Mon Jun 6 09:28:28 UTC 2016


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

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

commit dec61ffd7785b0fbfd28bded3759c18da2c5310d
Author: Andreas Tille <tille at debian.org>
Date:   Mon Jun 6 11:24:16 2016 +0200

    Try to call non-standard configure script properly
---
 debian/rules | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 55bd55e..dc3435e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,7 @@
 	dh $@
 
 OUTDIR=$(CURDIR)/debian/tmp
+BUILDTYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
 override_dh_auto_clean:
 
@@ -11,7 +12,8 @@ override_dh_clean:
 	rm -f build/OUTDIR.linux
 
 override_dh_auto_configure:
-	export OUTDIR=$(OUTDIR) ; make OUTDIR=$(OUTDIR) out ; make release dynamic
+        # # that's no standard configure script lacking support of default options \
+        ./configure --build=$(BUILDTYPE) --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