diff --git a/srcpkgs/perl-PadWalker/template b/srcpkgs/perl-PadWalker/template index 648344f45f..4ec83fb6ad 100644 --- a/srcpkgs/perl-PadWalker/template +++ b/srcpkgs/perl-PadWalker/template @@ -1,11 +1,12 @@ # Template file for 'perl-PadWalker' pkgname=perl-PadWalker version=2.2 -revision=1 +revision=2 wrksrc="${pkgname#*-}-${version}" build_style=perl-module hostmakedepends="perl" -depends="perl" +makedepends="${hostmakedepends}" +depends="${makedepends}" short_desc="PadWalker - play with other peoples' lexical variables" maintainer="Lukas Braun " license="GPL-1, Artistic" @@ -13,3 +14,7 @@ homepage="https://metacpan.org/pod/PadWalker" distfiles="https://cpan.metacpan.org/authors/id/R/RO/ROBIN/PadWalker-${version}.tar.gz" checksum=fc1df2084522e29e892da393f3719d2c1be0da022fdd89cff4b814167aecfea3 noarch=yes + +post_configure() { + sed -i 's/-mtune=generic//g' Makefile +}