Bug#206941: [Build-common-hackers] Bug#206941: cdbs: do we have to run configure twice?

Nathaniel W. Turner "Nathaniel W. Turner" <nate@houseofnate.net>, 206941@bugs.debian.org
Thu, 11 Dec 2003 17:08:51 -0500


--Boundary-00=_zrO2/q/YiRHiwfY
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Ok, I reversed my stamping patch and made the changes you suggested to kde.mk 
(tested patch attached).  This does indeed solve my problem, and I think I 
understand the nature of it now.  Thank you.  I suggest that kde.mk be 
patched accordingly.  (I can't comment on the other classes, as I haven't 
used them.)

Cheers,
nate

-- 
Nathaniel W. Turner
http://www.houseofnate.net/
Tel: +1 508 579 1948 (mobile)

--Boundary-00=_zrO2/q/YiRHiwfY
Content-Type: text/x-diff;
  charset="iso-8859-1";
  name="cdbs-kde-fix.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="cdbs-kde-fix.diff"

--- /usr/share/cdbs/1.orig/class/kde.mk	2003-10-15 23:24:55.000000000 -0400
+++ /usr/share/cdbs/1/class/kde.mk	2003-12-11 16:48:45.000000000 -0500
@@ -27,6 +27,10 @@
 ifndef _cdbs_class_kde
 _cdbs_class_kde := 1
 
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+
+DEB_BUILDDIR = obj-$(DEB_BUILD_GNU_TYPE)
+
 include $(_cdbs_class_path)/autotools.mk$(_cdbs_makefile_suffix)
 
 export kde_cgidir = /usr/lib/cgi-bin
@@ -44,7 +48,6 @@
 cdbs_configure_flags += --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
 
 DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin
-DEB_BUILDDIR = obj-$(DEB_BUILD_GNU_TYPE)
 DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include/kde"
 DEB_COMPRESS_EXCLUDE := .dcl .docbook -license
 

--Boundary-00=_zrO2/q/YiRHiwfY--