rtorrent: get rid of unnecessary workarounds.
This commit is contained in:
parent
5176831f46
commit
23df9cdaaa
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user