X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dh_makeshlibs;h=66e8b961d2d4658a176c6b097ed606f043a8d8b7;hb=18a0da8092ea9f3dc48bca92b36f592af25a608d;hp=896c5b3e3525aea036c5de874f3e3e0857c61551;hpb=2bee1e2cffe4a855152cdaf9e8268b2f080e4e29;p=debhelper.git diff --git a/dh_makeshlibs b/dh_makeshlibs index 896c5b3..66e8b96 100755 --- a/dh_makeshlibs +++ b/dh_makeshlibs @@ -21,6 +21,11 @@ libraries, and generates a shlibs file for the libraries it finds. It also adds a call to ldconfig in the F and F 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 @@ -52,10 +57,10 @@ looked at library filenames rather than using objdump. By default, the shlibs file generated by this program does not make packages depend on any particular version of the package containing the shared -library. It may be necessary for you to add some version dependancy +library. It may be necessary for you to add some version dependency information to the shlibs file. If B<-V> is specified with no dependency information, the current upstream version of the package is plugged into a -dependency that looks like "I B<(=E> IB<)>". Note that in +dependency that looks like "I B<(E>= IB<)>". Note that in debhelper compatibility levels before v4, the Debian part of the package version number is also included. If B<-V> is specified with parameters, the parameters can be used to specify the exact dependency information needed @@ -137,7 +142,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { # So, we look for files or links to existing files with names that # match "*.so.*". And we only look at real files not - # symlinks, so we don't accidentually add shlibs data to -dev + # symlinks, so we don't accidentally add shlibs data to -dev # packages. This may have a few false positives, which is ok, # because only if we can get a library name and a major number from # objdump is anything actually added. @@ -178,7 +183,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { $deps=$dh{V_FLAG}; } else { - # Call isnative becuase it sets $dh{VERSION} + # Call isnative because it sets $dh{VERSION} # as a side effect. isnative($package); my $version = $dh{VERSION};