perl-Net-SSH2: another hackfix, we should fix Perl cross builds properly.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# Template file for 'perl-Net-SSH2'
|
# Template file for 'perl-Net-SSH2'
|
||||||
pkgname=perl-Net-SSH2
|
pkgname=perl-Net-SSH2
|
||||||
version=0.60
|
version=0.60
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="${pkgname/perl-/}-${version}"
|
wrksrc="${pkgname/perl-/}-${version}"
|
||||||
build_style=perl-module
|
build_style=perl-module
|
||||||
configure_args="inc=${XBPS_CROSS_BASE}/usr/include lib=${XBPS_CROSS_BASE}/usr/lib"
|
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"
|
license="Artistic, GPL-1"
|
||||||
distfiles="${CPAN_SITE}/Net/Net-SSH2-${version}.tar.gz"
|
distfiles="${CPAN_SITE}/Net/Net-SSH2-${version}.tar.gz"
|
||||||
checksum=5d9007135b5df8c4afb9966f6b1edb83a17bc40a4d8b71dcb1a8217cb7d4cd53
|
checksum=5d9007135b5df8c4afb9966f6b1edb83a17bc40a4d8b71dcb1a8217cb7d4cd53
|
||||||
|
|
||||||
|
post_configure() {
|
||||||
|
sed -i 's/-mtune=generic//g' Makefile
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user