Bug#632871: Add support for cross-building perl modules
Package: dpkg-cross
Version: 2.6.4
Tags: patch
User: crossbuild@debian.org
Usertags: cross
Hi,
I'm working on cross-building perl modules at the moment, which also
means cross-building perl itself. Then the Config.pm and
Config_heavy.pl config scripts need to be included in the crossed
perl-base package. This patch makes dpkg-cross support that.
--- /usr/bin/dpkg-cross~ 2011-04-06 17:28:11.000000000 +0000
+++ /usr/bin/dpkg-cross 2011-07-06 10:54:15.357147784 +0000
@@ -864,6 +864,9 @@
} elsif (m:^/usr/(lib/.*/tclConfig.sh):) {
# the tcl cross-configure script
link_file("$src$_", "$dst$crossdir/$1") or goto fail;
+ } elsif (m:^/usr/(lib/.*/(Config.pm|Config_heavy.pl)):) {
+ # the perl cross-configure scripts
+ link_file("$src$_", "$dst$crossdir/$1") or goto fail;
} else {
# everything else
next;
Cheers,
--
Steve McIntyre
steve.mcintyre@linaro.org
Reply to: