rtorrent: get rid of unnecessary workarounds.

This commit is contained in:
Juan RP 2015-10-23 12:42:59 +02:00
parent 5176831f46
commit 23df9cdaaa

View File

@ -1,7 +1,7 @@
# Template file for 'rtorrent'
pkgname=rtorrent
version=0.9.6
revision=1
revision=2
build_style=gnu-configure
configure_args="--with-xmlrpc-c"
hostmakedepends="automake libtool pkg-config"
@ -19,13 +19,3 @@ pre_configure() {
autoreconf -fi
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
}