mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 00:42:58 +02:00
rtorrent: get rid of unnecessary workarounds.
This commit is contained in:
parent
5176831f46
commit
23df9cdaaa
1 changed files with 1 additions and 11 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'rtorrent'
|
# Template file for 'rtorrent'
|
||||||
pkgname=rtorrent
|
pkgname=rtorrent
|
||||||
version=0.9.6
|
version=0.9.6
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-xmlrpc-c"
|
configure_args="--with-xmlrpc-c"
|
||||||
hostmakedepends="automake libtool pkg-config"
|
hostmakedepends="automake libtool pkg-config"
|
||||||
|
@ -19,13 +19,3 @@ pre_configure() {
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
sed -e 's,test "$cross_compiling" = yes, false,' -i configure
|
sed -e 's,test "$cross_compiling" = yes, false,' -i configure
|
||||||
}
|
}
|
||||||
post_configure() {
|
|
||||||
local f
|
|
||||||
for f in $(find ${wrksrc} -name Makefile); do
|
|
||||||
sed -e "s;-L/usr/lib;-L${XBPS_CROSS_BASE}/usr/lib;g" -i $f
|
|
||||||
sed -e "s;-I/usr/include;-L${XBPS_CROSS_BASE}/usr/include;g" -i $f
|
|
||||||
done
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
|
||||||
*-musl) sed -e "s;-lm;-lm -lc;" Makefile
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue