perl-Net-SSH2: another hackfix, we should fix Perl cross builds properly.

This commit is contained in:
Christian Neukirchen 2016-05-24 14:27:32 +02:00
parent ad7a3b4e44
commit d91224f439
1 changed files with 5 additions and 1 deletions

View File

@ -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
}