mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-09 13:32:55 +02:00
mtr: fix cross, fix musl
This commit is contained in:
parent
69bc99d037
commit
63d8326c5b
1 changed files with 6 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'mtr'
|
# Template file for 'mtr'
|
||||||
pkgname=mtr
|
pkgname=mtr
|
||||||
version=0.87
|
version=0.87
|
||||||
revision=1
|
revision=2
|
||||||
build_style="gnu-configure"
|
build_style="gnu-configure"
|
||||||
hostmakedepends="automake pkg-config"
|
hostmakedepends="automake pkg-config"
|
||||||
makedepends="ncurses-devel gtk+-devel"
|
makedepends="ncurses-devel gtk+-devel"
|
||||||
|
@ -12,7 +12,11 @@ license="GPL-2"
|
||||||
homepage="http://www.bitwizard.nl/mtr/"
|
homepage="http://www.bitwizard.nl/mtr/"
|
||||||
distfiles="https://github.com/traviscross/mtr/archive/v${version}.tar.gz"
|
distfiles="https://github.com/traviscross/mtr/archive/v${version}.tar.gz"
|
||||||
checksum=ac177953e7c834d5326fc52d63377b6d0b42d05db8017556390629b87e44e183
|
checksum=ac177953e7c834d5326fc52d63377b6d0b42d05db8017556390629b87e44e183
|
||||||
nocross=yes
|
#nocross=yes
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
sed -i 's/__GLIBC__/__linux__/g' configure.ac dns.c
|
||||||
|
}
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
./bootstrap.sh
|
./bootstrap.sh
|
||||||
|
|
Loading…
Add table
Reference in a new issue