reopen 400049
tag 400049 + patch
thanks

Hi

I could reproduce the problem described in this bug report again.
/usr/include/ft2build.h:56 says:
/* `<prefix>/include/freetype2' must be in your current inclusion path
   * */
#include <freetype/config/ftheader.h>

Which is clearly not the case here, according to the build log.

This is caused by make's evaluation of the build-stamp rule:
  build-stamp: configure-stamp patch-stamp
It can choose between:
1) patching first, then running configure (that works)
2) running configure first, then patching (that fails)

The attached patch fixes this by forcing to patch before configure.

I'm not a DD, so I can't upload it. Also, urgency is wrong in the patch.
-- 
| Lucas Nussbaum
| [EMAIL PROTECTED]   http://www.lucas-nussbaum.net/ |
| jabber: [EMAIL PROTECTED]             GPG: 1024D/023B3F4F |
diff -Nru /tmp/TlOndgKcGG/dillo-0.8.5/debian/changelog /tmp/gcSOkIxKAk/dillo-0.8.5/debian/changelog
--- /tmp/TlOndgKcGG/dillo-0.8.5/debian/changelog	2006-12-15 11:10:43.000000000 +0100
+++ /tmp/gcSOkIxKAk/dillo-0.8.5/debian/changelog	2006-12-15 11:10:44.000000000 +0100
@@ -1,3 +1,12 @@
+dillo (0.8.5-4.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Added a dependancy on patch-stamp in configure-stamp, so ./configure
+    is executed with the patched version (prevents the build from failing if
+    configure is run, then patched). (closes: #400049)
+
+ -- Lucas Nussbaum <[EMAIL PROTECTED]>  Fri, 15 Dec 2006 11:07:18 +0100
+
 dillo (0.8.5-4) unstable; urgency=low
 
   * Link against openssl.
diff -Nru /tmp/TlOndgKcGG/dillo-0.8.5/debian/rules /tmp/gcSOkIxKAk/dillo-0.8.5/debian/rules
--- /tmp/TlOndgKcGG/dillo-0.8.5/debian/rules	2006-12-15 11:10:43.000000000 +0100
+++ /tmp/gcSOkIxKAk/dillo-0.8.5/debian/rules	2006-12-15 11:10:44.000000000 +0100
@@ -19,7 +19,7 @@
 endif
 
 configure: configure-stamp
-configure-stamp:
+configure-stamp: patch-stamp
 	dh_testdir
 	./configure --prefix=/usr --sysconfdir=/etc --enable-ipv6 --enable-ssl --disable-tabs --enable-meta-refresh
 	touch configure-stamp

Reply via email to