From 9d2dcc9852f1f9188382a0581f69e6b83b339a5f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 4 Sep 2015 08:51:22 +0200 Subject: [PATCH] rtorrent: update to 0.9.6. --- srcpkgs/rtorrent/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/rtorrent/template b/srcpkgs/rtorrent/template index a57dc61389c..9c369f0c8a4 100644 --- a/srcpkgs/rtorrent/template +++ b/srcpkgs/rtorrent/template @@ -1,6 +1,6 @@ # Template file for 'rtorrent' pkgname=rtorrent -version=0.9.5 +version=0.9.6 revision=1 build_style=gnu-configure configure_args="--with-xmlrpc-c" @@ -11,7 +11,7 @@ maintainer="Juan RP " homepage="https://github.com/rakshasa/rtorrent" license="GPL-2" distfiles="https://github.com/rakshasa/${pkgname}/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz" -checksum=96ab7c168a5a83f4dd7e991cee3a65fda6d76c9bc9a72ac6fefe34a2ded0eb85 +checksum=8ca89ca9e8f0cf984198d030203087e93d24743dfa158091a5d225a70ca4c8cf pre_configure() { # Drop cppunit requirement @@ -25,7 +25,7 @@ post_configure() { 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_ARCH" in + case "$XBPS_TARGET_MACHINE" in *-musl) sed -e "s;-lm;-lm -lc;" Makefile esac }