[SCM] Packaging for mathgl branch, experimental, updated. debian/2.0.3-1-16-gdb2aad2

Dimitrios Eftaxiopoulos eftaxi12 at otenet.gr
Thu Dec 27 01:05:08 UTC 2012


The following commit has been merged in the experimental branch:
commit 4746ea053dd960b6def0c6c6d1ecfcbb9c753390
Author: Dimitrios Eftaxiopoulos <eftaxi12 at otenet.gr>
Date:   Wed Dec 26 23:17:15 2012 +0200

    Add c++ compilation include path for pyconfig.h

diff --git a/debian/rules b/debian/rules
index d6fe8f7..af59fdc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,8 @@
 export DH_VERBOSE=1
 export DH_OPTIONS=-v
 
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
 clean:
 	dh_testdir
 	dh_auto_clean --buildsystem=cmake
@@ -20,7 +22,7 @@ build-arch: build-stamp
 build-indep: build-stamp
 build-stamp:
 	dh_testdir
-	dh_auto_configure --buildsystem=cmake 
+	dh_auto_configure --buildsystem=cmake -- -DCMAKE_CXX_FLAGS=-I/usr/include/${DEB_HOST_MULTIARCH}/python2.7
 	dh_auto_build --buildsystem=cmake
 	dh_auto_test --buildsystem=cmake
 

-- 
Packaging for mathgl



More information about the debian-science-commits mailing list