diff -u gnu-smalltalk-3.2.4/debian/dh_fixstars gnu-smalltalk-3.2.4/debian/dh_fixstars --- gnu-smalltalk-3.2.4/debian/dh_fixstars +++ gnu-smalltalk-3.2.4/debian/dh_fixstars @@ -9,6 +9,7 @@ use strict; use File::Find; use Debian::Debhelper::Dh_Lib; +use Dpkg::Arch qw(get_raw_host_arch debarch_to_multiarch); =head1 SYNOPSIS @@ -56,6 +57,7 @@ sub add_symlinks { my $tmp = shift; my $star_file = shift; + my $multiarch_dir = debarch_to_multiarch(get_raw_host_arch()); open(PACKAGEXML, "unzip -p $star_file package.xml |"); @@ -72,6 +74,11 @@ doit("rm", "-f", "$sym"); doit("mkdir", "-p", "$pwd/$tmp/usr/lib/gnu-smalltalk"); doit("ln", "-s", "../$lib", "$sym"); + doit("chown", "--no-dereference", "0:0", "$sym"); + } elsif (-e "/usr/lib/$multiarch_dir/$lib") { + doit("rm", "-f", "$sym"); + doit("mkdir", "-p", "$pwd/$tmp/usr/lib/gnu-smalltalk"); + doit("ln", "-s", "../$lib", "$sym"); doit("chown", "--no-dereference", "0:0", "$sym"); } else { error("Can't find \"$lib\" (\"$1\" in \"$star_file\")!"); diff -u gnu-smalltalk-3.2.4/debian/changelog gnu-smalltalk-3.2.4/debian/changelog --- gnu-smalltalk-3.2.4/debian/changelog +++ gnu-smalltalk-3.2.4/debian/changelog @@ -1,3 +1,10 @@ +gnu-smalltalk (3.2.4-1.0) oneiric; urgency=low + + * Changed debian/dh_fixstars script to check also for multiarch directories. + Would be good to check cross compilation of package. + + -- Marcin Juszkiewicz Wed, 15 Jun 2011 13:30:31 +0200 + gnu-smalltalk (3.2.4-1) unstable; urgency=low * New upstream release: