[Pkg-kde-commits] rev 320 - people/dato/kde-common

Adeodato Sim?? dato-guest@haydn.debian.org
Thu, 16 Dec 2004 18:43:41 -0700


Author: dato-guest
Date: 2004-12-16 18:43:14 -0700 (Thu, 16 Dec 2004)
New Revision: 320

Modified:
   people/dato/kde-common/rules.mk
Log:
Couple of updates:
  - pass --host and --build options to configure.
  - call dh_makeshlibs with DH_COMPAT=3.


Modified: people/dato/kde-common/rules.mk
===================================================================
--- people/dato/kde-common/rules.mk	2004-12-17 01:39:55 UTC (rev 319)
+++ people/dato/kde-common/rules.mk	2004-12-17 01:43:14 UTC (rev 320)
@@ -30,7 +30,8 @@
 
 	# run configure with build tree $(objdir)
 	cd $(objdir) && \
-	../configure $(configkde) $(CONFIGURE_FLAGS) --disable-dependency-tracking
+	../configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+	$(configkde) $(CONFIGURE_FLAGS) --disable-dependency-tracking
 
 	touch $@
 
@@ -108,7 +109,8 @@
 	dh_fixperms $(DH_FIXPERMS_ARGS)
 	dh_perl
 	dh_python
-	dh_makeshlibs $(DH_MAKESHLIBS_ARGS)
+	dh_makeshlibs
+	env DH_COMPAT=3 dh_makeshlibs $(DH_MAKESHLIBS_ARGS)
 	dh_installdeb
 	dh_shlibdeps $(DH_SHLIBDEPS_ARGS)
 	dh_gencontrol