summaryrefslogtreecommitdiff
path: root/dh_makeshlibs
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2015-04-30 22:38:53 +0200
committerNiels Thykier <niels@thykier.net>2015-05-01 06:58:57 +0200
commit10260f441a10e96fcbdcffc590846021a0c4bccf (patch)
treeda0101823faeb83c632d66bb8cde663792106f0b /dh_makeshlibs
parent7123cc7f0642e7d1a8d1bad4702eed6808138fab (diff)
downloaddebhelper-10260f441a10e96fcbdcffc590846021a0c4bccf.tar.gz
dh_makeshlibs: Do not inject multiarch-support in misc:Pre-Depends anymore
This transition has long been completed. The version introducing this change was 8.1.3 shipped with squeeze, the release that included the relevant changes in glibc and the dynamic linker. Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_makeshlibs')
-rwxr-xr-xdh_makeshlibs13
1 files changed, 0 insertions, 13 deletions
diff --git a/dh_makeshlibs b/dh_makeshlibs
index c3156418..d32e7712 100755
--- a/dh_makeshlibs
+++ b/dh_makeshlibs
@@ -21,11 +21,6 @@ libraries, and generates a shlibs file for the libraries it finds.
It also adds a call to ldconfig in the F<postinst> and F<postrm> scripts (in
v3 mode and above only) to any packages in which it finds shared libraries.
-Packages that support multiarch are detected, and
-a Pre-Dependency on multiarch-support is set in ${misc:Pre-Depends} ;
-you should make sure to put that token into an appropriate place in your
-debian/control file for packages supporting multiarch.
-
=head1 FILES
=over 4
@@ -136,7 +131,6 @@ init(options => {
});
my $objdump=cross_command("objdump");
-my $multiarch=dpkg_architecture_value("DEB_HOST_MULTIARCH");
my $ok=1;
@@ -147,7 +141,6 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
my %seen;
my $need_ldconfig = 0;
- my $is_multiarch = 0;
my $shlibs_file = pkgfile($package, 'shlibs');
doit("rm", "-f", "$tmp/DEBIAN/shlibs");
@@ -167,9 +160,6 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
while (<FIND>) {
my ($library, $major);
push @lib_files, $_;
- if (defined $multiarch && $multiarch ne '' && m,/$multiarch/,) {
- $is_multiarch=1;
- }
my $ret=`$objdump -p $_`;
if ($ret=~m/\s+SONAME\s+(.+)\.so\.(.+)/) {
# proper soname format
@@ -281,9 +271,6 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
doit("rm", "-f", "$tmp/DEBIAN/symbols");
}
}
- if ($is_multiarch) {
- addsubstvar($package, "misc:Pre-Depends", "multiarch-support");
- }
}
unless ($ok) {