Source: bzip2
Version: 1.0.6-5
Severity: wishlist
Tags: patch

As the subject says: the attached patch allows for bootstrapping bzip2 in an 
early stage when multilib compilers and libraries are not yet available.
-- 
Daniel Schepler
diff -urN bzip2-1.0.6.old/debian/rules bzip2-1.0.6/debian/rules
--- bzip2-1.0.6.old/debian/rules	2012-06-03 02:16:31.000000000 -0700
+++ bzip2-1.0.6/debian/rules	2013-05-28 10:41:20.278405845 -0700
@@ -39,6 +39,8 @@
 		    | sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
 UPVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/-[0-9.]*$$//')
 
+ifneq ($(DEB_BUILD_PROFILE),stage1)
+
 ifneq (,$(findstring /$(DEB_HOST_ARCH)/,/i386/powerpc/sparc/s390/))
 	build64-stamp := build64-stamp
 	CC64=$(CC) -m64
@@ -52,6 +54,8 @@
 	lib32 := usr/lib32
 endif
 
+endif
+
 build-arch: build
 build-indep: build
 build: build-stamp $(build32-stamp) $(build64-stamp)

Reply via email to