From 6cbb4856878cd40a98b794d44c499ce24919ba9f Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Fri, 1 May 2015 04:11:20 -0300 Subject: add and update perl-* packages --- pcr/perl-text-bibtex/perl-text-bibtex.patch | 42 +++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 pcr/perl-text-bibtex/perl-text-bibtex.patch (limited to 'pcr/perl-text-bibtex/perl-text-bibtex.patch') diff --git a/pcr/perl-text-bibtex/perl-text-bibtex.patch b/pcr/perl-text-bibtex/perl-text-bibtex.patch new file mode 100644 index 000000000..8e9c6a741 --- /dev/null +++ b/pcr/perl-text-bibtex/perl-text-bibtex.patch @@ -0,0 +1,42 @@ +--- Build.PL 2014-09-01 21:12:14.000000000 +0100 ++++ Build.PL.new 2015-01-31 16:34:51.567227766 +0000 +@@ -58,38 +58,7 @@ my $builder = MyBuilder->new + ], + ); + +-## HACK HACK HACK HACK +-my $libdir = $builder->install_destination("bin"); +-if ($^O =~ /mswin32/i) { +- $libdir = undef; +- # Find a place where we can write. +- my @folders = split /;/, $ENV{PATH}; +- my $installed = 0; +- my $target = "text-bibtex.$$"; +- while(@folders && !$installed) { +- $libdir = shift @folders; +- +- copy("MANIFEST", catfile($libdir,$target)); +- $installed = 1 if -f catfile($libdir, $target); +- } +- if (!$installed) { +- warn("Wasn't able to find a suitable place for libbtparse.dll!"); +- } else { +- print STDERR "libbtparse.dll will be installed in $libdir\n"; +- unlink catfile($libdir, $target); +- } +-} else { +- if ($Config{archname} =~ /^x86_64/) { +- $libdir =~ s/\bbin\b/lib64/; +- if (!-d $libdir) { +- my $test = $libdir; +- $test =~ s/lib64/lib/; +- $libdir = $test if -d $test; +- } +- } else { +- $libdir =~ s/\bbin\b/lib/; +- } +-} ++my $libdir = '/usr/lib'; + $builder->notes('btparse_version' => $version); + $builder->notes('lib_path' => $libdir); + $builder->add_build_element('usrlib'); -- cgit v1.2.3-54-g00ecf