diff --git a/net/libsoup/Makefile b/net/libsoup/Makefile index ae125128c418..98563ea7f714 100644 --- a/net/libsoup/Makefile +++ b/net/libsoup/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.47 2018/08/16 12:16:17 wiz Exp $ +# $NetBSD: Makefile,v 1.48 2018/10/23 07:17:53 leot Exp $ -DISTNAME= libsoup-2.62.3 +DISTNAME= libsoup-2.64.2 CATEGORIES= net gnome MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libsoup/${PKGVERSION_NOREV:R}/} EXTRACT_SUFX= .tar.xz @@ -21,8 +21,9 @@ CONFIGURE_ENV+= DATADIRNAME=share # XXX: disable Vala bindings otherwise the configure phase fails because is not # XXX: able to find vapigen. -CONFIGURE_ARGS+= --enable-vala=no \ - --disable-tls-check +CONFIGURE_ARGS+= --enable-vala=no +CONFIGURE_ARGS+= --disable-tls-check +CONFIGURE_ARGS+= --with-apache-httpd=no PKGCONFIG_OVERRIDE+= libsoup-2.4.pc.in PKGCONFIG_OVERRIDE+= libsoup-gnome-2.4.pc.in @@ -44,11 +45,6 @@ CWRAPPERS_APPEND.cc+= -Wno-error=format-nonliteral .include "options.mk" -REPLACE_PYTHON= libsoup/tld-parser.py -PYTHON_FOR_BUILD_ONLY= yes - -.include "../../lang/python/application.mk" - .include "../../databases/sqlite3/buildlink3.mk" BUILDLINK_API_DEPENDS.glib2+= glib2>=2.38.0 .include "../../devel/glib2/buildlink3.mk" @@ -57,4 +53,5 @@ BUILDLINK_DEPMETHOD.gobject-introspection+= build .include "../../devel/gobject-introspection/buildlink3.mk" CONFIGURE_ARGS+= --enable-introspection .include "../../textproc/libxml2/buildlink3.mk" +.include "../../www/libpsl/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/net/libsoup/distinfo b/net/libsoup/distinfo index e7dbdd68ec2c..66993e15d1c9 100644 --- a/net/libsoup/distinfo +++ b/net/libsoup/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.20 2018/08/16 12:16:17 wiz Exp $ +$NetBSD: distinfo,v 1.21 2018/10/23 07:17:53 leot Exp $ -SHA1 (libsoup-2.62.3.tar.xz) = 8b9c743348b1f9fc044c6abf3431899154e93ad1 -RMD160 (libsoup-2.62.3.tar.xz) = 24806f33b83c35b16b7b424b10401dc3a51a7e4c -SHA512 (libsoup-2.62.3.tar.xz) = 88354728b1da10288472c7380f166263b64d979df3e6e70ebdbc7b61f3c8eb1dc1205d5b1ead16243c6d304940a4dd4e3a9f3b2ce3e1422a1c5032220b16c73b -Size (libsoup-2.62.3.tar.xz) = 1851780 bytes +SHA1 (libsoup-2.64.2.tar.xz) = 286b2dc5e4396b6328870da761798e61701f901a +RMD160 (libsoup-2.64.2.tar.xz) = 12af987a048627f662788742ec3f66e3f8053348 +SHA512 (libsoup-2.64.2.tar.xz) = c001495be4e1eafd169b904431b22e961b52f5a3202f2e75b0657281cbfd91153148765bd95378bba3e85a66d7eaca428750641f20c07ca3232d1f9bdabdc90f +Size (libsoup-2.64.2.tar.xz) = 1793440 bytes +SHA1 (patch-tests_Makefile.in) = 7144b1b29fc35a950f2f0c3e2a1600483636a645 diff --git a/net/libsoup/patches/patch-tests_Makefile.in b/net/libsoup/patches/patch-tests_Makefile.in new file mode 100644 index 000000000000..46a1ed4db947 --- /dev/null +++ b/net/libsoup/patches/patch-tests_Makefile.in @@ -0,0 +1,25 @@ +$NetBSD: patch-tests_Makefile.in,v 1.1 2018/10/23 07:17:53 leot Exp $ + +Run APACHE_HTTPD targets only if an APACHE_HTTPD was defined +(otherwise this lead to executing a `no' program and to fail the +tests due that). + +--- tests/Makefile.in.orig 2018-10-22 16:12:48.000000000 +0000 ++++ tests/Makefile.in +@@ -2181,12 +2181,12 @@ uninstall-am: uninstall-installed_testLT + soup-tests.gresource: soup-tests.gresource.xml $(RESOURCES) + $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) $< + +-check: start-httpd ++@HAVE_APACHE_TRUE@check: start-httpd + +-check-local: check-TESTS +- @$(MAKE) kill-httpd ++@HAVE_APACHE_TRUE@check-local: check-TESTS ++@HAVE_APACHE_TRUE@ @$(MAKE) kill-httpd + +-.PHONY: start-httpd kill-httpd ++@HAVE_APACHE_TRUE@.PHONY: start-httpd kill-httpd + + start-httpd: + @$(APACHE_HTTPD) -d $(abs_srcdir) -c "DefaultRuntimeDir `pwd`" -c "PidFile `pwd`/httpd.pid" -f `pwd`/httpd.conf -k start;