r885 - in /unstable/libquicktime/debian: changelog rules

lool at users.alioth.debian.org lool at users.alioth.debian.org
Sat Sep 29 19:44:01 UTC 2007


Author: lool
Date: Sat Sep 29 19:44:01 2007
New Revision: 885

URL: http://svn.debian.org/wsvn/pkg-multimedia/?sc=1&rev=885
Log:
* Only pass --host to configure if DEB_HOST_GNU_TYPE and DEB_BUILD_GNU_TYPE
  differ.

Modified:
    unstable/libquicktime/debian/changelog
    unstable/libquicktime/debian/rules

Modified: unstable/libquicktime/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/libquicktime/debian/changelog?rev=885&op=diff
==============================================================================
--- unstable/libquicktime/debian/changelog (original)
+++ unstable/libquicktime/debian/changelog Sat Sep 29 19:44:01 2007
@@ -13,8 +13,10 @@
   * Wrap build-deps and deps.
   * Cleanup rules.
   * Fix a s/CLFAGS/CFLAGS typo in rules.
-
- -- Loic Minier <lool at dooz.org>  Sat, 29 Sep 2007 21:42:30 +0200
+  * Only pass --host to configure if DEB_HOST_GNU_TYPE and DEB_BUILD_GNU_TYPE
+    differ.
+
+ -- Loic Minier <lool at dooz.org>  Sat, 29 Sep 2007 21:43:50 +0200
 
 libquicktime (2:1.0.0+debian-4) unstable; urgency=low
 

Modified: unstable/libquicktime/debian/rules
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/libquicktime/debian/rules?rev=885&op=diff
==============================================================================
--- unstable/libquicktime/debian/rules (original)
+++ unstable/libquicktime/debian/rules Sat Sep 29 19:44:01 2007
@@ -8,11 +8,15 @@
 CFLAGS := -Wall -g -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2)
 
 configure_flags := \
-	--host=$(DEB_HOST_GNU_TYPE) \
-	--build=$(DEB_BUILD_GNU_TYPE) \
 	--prefix=/usr \
 	--mandir=\$${prefix}/share/man \
 	--enable-gpl
+
+ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
+configure_flags += --host=$(DEB_HOST_GNU_TYPE)
+else
+configure_flags += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
+endif
 
 config.status: patch-stamp configure
 	dh_testdir




More information about the pkg-multimedia-commits mailing list