Subject: | Fedora build against xulrunner |
2 minor issues when building on Fedora:
- xulrunner development package is installed in xulrunner-sdk (not
xulrunner-devel)
- 64 bits libraries are installed in /usr/lib64
The simple patch proposal fixe this issue and shouldn't break anything
on other distro.
Regards
Subject: | Makefile.PL.patch |
--- Makefile.PL.orig 2009-02-15 10:17:17.000000000 +0100
+++ Makefile.PL 2009-02-15 10:19:18.000000000 +0100
@@ -76,9 +76,9 @@
my $inc = $pkgcfg{cflags};
my $libs = $pkgcfg{libs};
-if ($libs =~ m#xulrunner-devel-([^/]+)#) {
+if ($libs =~ m#(lib|lib64)/xulrunner-(devel|sdk)-([^/]+)#) {
$inc .= qq( -DGTK_MOZ_EMBED_PERL_XULRUNNER_PATH=)
- . qq("\\"/usr/lib/xulrunner-$1\\"" );
+ . qq("\\"/usr/$1/xulrunner-$3\\"" );
}
my $mozembed = ExtUtils::Depends->new('Gtk2::MozEmbed', 'Gtk2',