[SCM] SUMO packaging. Simulation of Urban MObility. branch, master, updated. debian/0.17.1_dfsg-4-2-g202619d

Anton Gladky gladky.anton at gmail.com
Sat Jun 15 13:31:56 UTC 2013


The following commit has been merged in the master branch:
commit bff2b7d5070287077a55c3ecbd6041803ada97c8
Author: Anton Gladky <gladky.anton at gmail.com>
Date:   Sat Jun 15 09:35:06 2013 +0200

    Do not use autoreconf on mips.

diff --git a/debian/control b/debian/control
index 76f62d2..93a1ad2 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Standards-Version: 3.9.4
 Vcs-Git: git://anonscm.debian.org/debian-science/packages/sumo.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/sumo.git
 Build-Depends:
- autotools-dev,
+ autotools-dev [!mips !mipsel],
  debhelper (>= 9),
  dh-autoreconf,
  dpkg-dev (>= 1.16.1~),
diff --git a/debian/rules b/debian/rules
index 751e4b3..2a2461f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,14 @@
 #!/usr/bin/make -f
 
+no_autoreconf_archs = mips mipsel
+auto_reconf_flag = --with autoreconf
+
+ifneq (,$(filter $(DEB_HOST_ARCH),$(no_autoreconf_archs)))
+	auto_reconf_flag=
+endif
+
 %:
-	dh $@ --parallel --with autoreconf
+	dh $@ --parallel $(auto_reconf_flag)
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 DPKG_EXPORT_BUILDFLAGS = 1
@@ -9,7 +16,7 @@ DPKG_EXPORT_BUILDFLAGS = 1
 export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
-export LIBS := -lgl2ps -lGL -lGLU -lglut
+export LIBS := -lgl2ps
 
 include /usr/share/dpkg/buildflags.mk
 

-- 
SUMO packaging. Simulation of Urban MObility.



More information about the debian-science-commits mailing list