diff --git a/net-libs/libsoup/libsoup-2.60.2.recipe b/net-libs/libsoup/libsoup-2.60.2.recipe index 6937301a0..a738a20da 100644 --- a/net-libs/libsoup/libsoup-2.60.2.recipe +++ b/net-libs/libsoup/libsoup-2.60.2.recipe @@ -5,7 +5,7 @@ GNOME applications, and also has a synchronous API, for use in threaded applicat HOMEPAGE="https://wiki.gnome.org/Projects/libsoup/" COPYRIGHT="2005 - 2015 The GNOME Project" LICENSE="GNU LGPL v2" -REVISION="3" +REVISION="4" SOURCE_URI="http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.60/libsoup-$portVersion.tar.xz" CHECKSUM_SHA256="7263cfe18872e2e652c196f5667e514616d9c97c861dfca82a65a55f45f0da01" PATCHES="libsoup-$portVersion.patchset" @@ -56,13 +56,23 @@ BUILD_PREREQUIRES=" cmd:libtool cmd:make cmd:pkg_config$secondaryArchSuffix - cmd:python2 + cmd:python3 " +PATCH() +{ + sed -i 's,\/usr/bin/env python,\/bin/env python3,g' libsoup/tld-parser.py +} + BUILD() { - runConfigure ./configure --disable-nls --without-gnome --disable-tls-check \ - --enable-vala=no --enable-introspection=yes --disable-gtk-doc-html + runConfigure ./configure --disable-nls \ + --without-gnome \ + --disable-tls-check \ + --enable-vala=no \ + --enable-introspection=yes \ + --disable-gtk-doc-html \ + --disable-static make $jobArgs }