[Pkg-maemo-commits] r51 ./hildon-help/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 15:38:45 UTC 2007
------------------------------------------------------------
revno: 51
committer: Loïc Minier <lool at dooz.org>
branch nick: debian
timestamp: Tue 2007-07-24 17:38:45 +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 15:36:38 +0000
+++ b/debian/changelog 2007-07-24 15:38:45 +0000
@@ -27,8 +27,10 @@
* Don't ignore distclean errors.
* Loosen the libhildonhelp-dev -> libhildonhelp0 dep to permit bin NMUs.
* Cleanup rules.
+ * 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 17:36:34 +0200
+ -- Loic Minier <lool at dooz.org> Tue, 24 Jul 2007 17:38:33 +0200
libhildonhelp (1.9.3-1) unstable; urgency=low
=== modified file 'debian/rules'
--- a/debian/rules 2007-07-24 15:36:38 +0000
+++ b/debian/rules 2007-07-24 15:38:45 +0000
@@ -20,9 +20,13 @@
--infodir=\$${prefix}/share/info \
--with-doc-dir=\$${prefix}/share/doc \
--disable-dependency-tracking \
- --disable-gtk-doc \
- --host=$(DEB_HOST_GNU_TYPE) \
- --build=$(DEB_BUILD_GNU_TYPE)
+ --disable-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: configure
dh_testdir
More information about the Pkg-maemo-commits
mailing list