r9447 - in /desktop/experimental/gnome-python-desktop/debian: changelog rules

lool at users.alioth.debian.org lool at users.alioth.debian.org
Thu Mar 29 20:20:45 CET 2007


Author: lool
Date: Thu Mar 29 19:20:45 2007
New Revision: 9447

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=9447
Log:
* Don't pass --host to configure when DEB_BUILD_GNU_TYPE equals
  DEB_HOST_GNU_TYPE.

Modified:
    desktop/experimental/gnome-python-desktop/debian/changelog
    desktop/experimental/gnome-python-desktop/debian/rules

Modified: desktop/experimental/gnome-python-desktop/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gnome-python-desktop/debian/changelog?rev=9447&op=diff
==============================================================================
--- desktop/experimental/gnome-python-desktop/debian/changelog (original)
+++ desktop/experimental/gnome-python-desktop/debian/changelog Thu Mar 29 19:20:45 2007
@@ -1,3 +1,10 @@
+gnome-python-desktop (2.18.0-2) UNRELEASED; urgency=low
+
+  * Don't pass --host to configure when DEB_BUILD_GNU_TYPE equals
+    DEB_HOST_GNU_TYPE.
+
+ -- Loic Minier <lool at dooz.org>  Thu, 29 Mar 2007 21:20:27 +0200
+
 gnome-python-desktop (2.18.0-1) experimental; urgency=low
 
   [ Loic Minier ]

Modified: desktop/experimental/gnome-python-desktop/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gnome-python-desktop/debian/rules?rev=9447&op=diff
==============================================================================
--- desktop/experimental/gnome-python-desktop/debian/rules (original)
+++ desktop/experimental/gnome-python-desktop/debian/rules Thu Mar 29 19:20:45 2007
@@ -17,9 +17,14 @@
 
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-configure_flags := --prefix=/usr --enable-metacity \
-		--build=$(DEB_BUILD_GNU_TYPE) \
-		--host=$(DEB_HOST_GNU_TYPE)
+
+configure_flags := --prefix=/usr --enable-metacity
+
+ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
+	configure_flags += --build=$(DEB_BUILD_GNU_TYPE)
+else
+	configure_flags += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
+endif
 
 PYVERS=$(shell pyversions -vr debian/control 2>/dev/null)
 




More information about the pkg-gnome-commits mailing list