diff --git a/srcpkgs/rtorrent/template b/srcpkgs/rtorrent/template index 9c369f0c8a4..f504c6a6856 100644 --- a/srcpkgs/rtorrent/template +++ b/srcpkgs/rtorrent/template @@ -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 -}