[postgis] 03/04: GNU/Hurd doesn't implement semaphores; skip regress tests on hurd-*.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sun Feb 8 21:10:12 UTC 2015


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

sebastic pushed a commit to branch master
in repository postgis.

commit 0e87a4dfe8d026723bb13493a3289a99f4ebe6eb
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Feb 8 21:40:32 2015 +0100

    GNU/Hurd doesn't implement semaphores; skip regress tests on hurd-*.
---
 debian/changelog | 1 +
 debian/rules     | 7 +++++++
 2 files changed, 8 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 9c4d72a..f5ad633 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ postgis (2.1.5+dfsg-1~exp2) UNRELEASED; urgency=medium
   * Update my email to use @debian.org address.
   * Add build dependency on openjdk-7-jdk | java7-sdk required to build
     libpostgis-java. OpenJDK 7 is not yet available on GNU/Hurd.
+  * GNU/Hurd doesn't implement semaphores; skip regress tests on hurd-*.
 
  -- Bas Couwenberg <sebastic at debian.org>  Wed, 24 Dec 2014 15:39:32 +0100
 
diff --git a/debian/rules b/debian/rules
index 8f2fabd..8d8b741 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,6 +15,8 @@
 # This has to be exported to make some magic below work.
 export DH_OPTIONS
 
+DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/buildflags.mk
 
@@ -23,6 +25,11 @@ ifneq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 	CHECK =
 endif
 
+# Hurd doesn't implement semaphores; skip regress tests
+ifeq (hurd,$(DEB_HOST_ARCH_OS))
+	CHECK =
+endif
+
 # PostgreSQL versions supported by PostGIS 2.0 - for automatic
 # generation of transitional -scripts packages.
 POSTGIS_2_0_PGVERS = 8.4 9.0 9.1 9.2

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/postgis.git



More information about the Pkg-grass-devel mailing list