From d91224f4399e9987dcd5d0801af9afb414ed339b Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Tue, 24 May 2016 14:27:32 +0200 Subject: [PATCH] perl-Net-SSH2: another hackfix, we should fix Perl cross builds properly. --- srcpkgs/perl-Net-SSH2/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/perl-Net-SSH2/template b/srcpkgs/perl-Net-SSH2/template index fdf4900bf0..6c2c5de28e 100644 --- a/srcpkgs/perl-Net-SSH2/template +++ b/srcpkgs/perl-Net-SSH2/template @@ -1,7 +1,7 @@ # Template file for 'perl-Net-SSH2' pkgname=perl-Net-SSH2 version=0.60 -revision=1 +revision=2 wrksrc="${pkgname/perl-/}-${version}" build_style=perl-module configure_args="inc=${XBPS_CROSS_BASE}/usr/include lib=${XBPS_CROSS_BASE}/usr/lib" @@ -14,3 +14,7 @@ homepage="http://search.cpan.org/dist/Net-SSH2" license="Artistic, GPL-1" distfiles="${CPAN_SITE}/Net/Net-SSH2-${version}.tar.gz" checksum=5d9007135b5df8c4afb9966f6b1edb83a17bc40a4d8b71dcb1a8217cb7d4cd53 + +post_configure() { + sed -i 's/-mtune=generic//g' Makefile +}