[SCM] advanced 3D real time strategy game engine branch, master, updated. debian/0.81.2.1+dfsg1-4-9-gcda6c85

Jan Dittberner jandd at debian.org
Fri May 28 23:42:48 UTC 2010


The following commit has been merged in the master branch:
commit 4d0eb9e8b547f6be8f4133d2bcd281752f693642
Author: Jan Dittberner <jandd at debian.org>
Date:   Sat May 29 01:06:34 2010 +0200

    fail to build if architecture is not amd64 or i386

diff --git a/debian/changelog b/debian/changelog
index 9c71d32..dc92416 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ spring (0.81.2.1+dfsg1-5) UNRELEASED; urgency=low
   * debian/control: restrict supported architectures to i386 and amd64
     because building fails on kfreebsd-* due to no capable enough JDK
     and hardware accellerated OpenGL requirement
+  * debian/rules: fail in override_dh_auto_configure if architecture is
+    not amd64 or i386
 
  -- Jan Dittberner <jandd at debian.org>  Thu, 27 May 2010 21:10:29 +0200
 
diff --git a/debian/rules b/debian/rules
index f137781..03793d5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,6 +31,9 @@ else
 endif
 
 override_dh_auto_configure:
+	# make builds fail on architectures other than amd64 and i386
+	dpkg-architecture -eamd64 || dpkg-architecture -ei386 || exit 1
+
 	dh_auto_configure -- -DBINDIR=games -DLIBDIR=lib/spring -DAI_LIBS_DIR=lib/spring -DAI_DATA_DIR=share/games/spring -DCMAKE_BUILD_TYPE=RELWITHDEBINFO -DMARCH_FLAG=$(MARCH_FLAG) -DAI_FIND_QUIETLY=FALSE -DJAVA_FIND_REQUIRED=TRUE
 
 override_dh_auto_install:

-- 
advanced 3D real time strategy game engine



More information about the Pkg-games-commits mailing list