[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH] Fix for debhelper biarch building



The following patch fixed two problems with debhelper:

1. using 'linux32 dpkg-buildpackage' didn't build the correct libraries.
2. The wrong directories would be created by 'dh_installdirs -i'.

--- Dh_Lib.pm	2003-09-27 22:00:13.000000000 +0100
+++ Dh_Lib.pm.new	2003-10-11 19:55:50.000000000 +0100
@@ -602,15 +602,15 @@
 			     ($type eq 'arch' && $arch ne 'all') ||
 			     ($type eq 'same' && ($arch eq 'any' || $arch =~ /\b$buildarch\b/)) ||
 			     ! $type)) {
-				if ($package64 && $lib64_arch) {
+				if ($package64 && $lib64_arch == 1) {
 					push @list, $package64;
 				} else {
 					push @list, $package;
 				}
-				$package="";
-				$package64="";
-				$arch="";
 			}
+			$package="";
+			$package64="";
+			$arch="";
 		}
 	}
 	close CONTROL;

Reply to: