mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
perl-Net-SSH2: another hackfix, we should fix Perl cross builds properly.
This commit is contained in:
parent
ad7a3b4e44
commit
d91224f439
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue