[Pkg-maemo-commits] r349 ./hildon-fm/debian: * Only pass --host to configure if DEB_HOST_GNU_TYPE and DEB_BUILD_GNU_TYPE
Loïc Minier
lool at dooz.org
Tue Jul 24 09:47:24 UTC 2007
------------------------------------------------------------
revno: 349
committer: Loïc Minier <lool at dooz.org>
branch nick: debian
timestamp: Tue 2007-07-24 11:47:24 +0200
message:
* Only pass --host to configure if DEB_HOST_GNU_TYPE and DEB_BUILD_GNU_TYPE
differ.
modified:
debian/changelog
debian/rules
-------------- next part --------------
=== modified file 'debian/changelog'
--- a/debian/changelog 2007-07-24 09:45:57 +0000
+++ b/debian/changelog 2007-07-24 09:47:24 +0000
@@ -6,8 +6,10 @@
* Wrap build-deps and deps.
* Cleanup rules.
* Add a ${misc:Depends}.
+ * Only pass --host to configure if DEB_HOST_GNU_TYPE and DEB_BUILD_GNU_TYPE
+ differ.
- -- Loic Minier <lool at dooz.org> Tue, 24 Jul 2007 11:45:49 +0200
+ -- Loic Minier <lool at dooz.org> Tue, 24 Jul 2007 11:47:17 +0200
libhildonfm (1:1.9.23ubuntu3) gutsy; urgency=low
=== modified file 'debian/rules'
--- a/debian/rules 2007-07-24 09:45:33 +0000
+++ b/debian/rules 2007-07-24 09:47:24 +0000
@@ -21,9 +21,13 @@
--prefix=/usr \
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
- --enable-gtk-doc \
- --host=$(DEB_HOST_GNU_TYPE) \
- --build=$(DEB_BUILD_GNU_TYPE)
+ --enable-gtk-doc
+
+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
config.status:
if [ ! -x configure ]; then ./autogen.sh; fi
More information about the Pkg-maemo-commits
mailing list