From 0bbbb73ea15820e5d8dce1ae8c778f63e7d8921a Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Mon, 29 Aug 2016 19:30:02 +0200 Subject: [PATCH] perl-Term-ReadLine-Gnu: fix cross. --- srcpkgs/perl-Term-ReadLine-Gnu/template | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/srcpkgs/perl-Term-ReadLine-Gnu/template b/srcpkgs/perl-Term-ReadLine-Gnu/template index d9b40905be3..77e141e008b 100644 --- a/srcpkgs/perl-Term-ReadLine-Gnu/template +++ b/srcpkgs/perl-Term-ReadLine-Gnu/template @@ -1,9 +1,7 @@ -nocross=yes - # Template file for 'perl-Term-ReadLine-Gnu' pkgname=perl-Term-ReadLine-Gnu version=1.34 -revision=2 +revision=3 wrksrc="${pkgname/perl-/}-${version}" build_style=perl-module hostmakedepends="perl ncurses-devel readline-devel" @@ -14,3 +12,7 @@ homepage="http://search.cpan.org/dist/Term-ReadLine-Gnu/" license="Artistic, GPL-1" distfiles="${CPAN_SITE}/Term/${pkgname/perl-/}-${version}.tar.gz" checksum=a965fd0601bea84cb65e0c5e6a1eb3469fe2d99772be235faccbc49c57edf6cd + +post_extract() { + sed -i '/if.*guess_malloc_names/s/.*/if(my $extra_defs=""){/' Makefile.PL +}