Unbreak libproxy with upcoming ninja 1.9.0 update.
Target name like "test" are not allowed so let's just rename it. Noting
depends on it. Tested with ninja-1.8.2p1 and ninja-1.9.0.
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/libproxy/Makefile,v
retrieving revision 1.62
diff -u -p -u -p -r1.62 Makefile
--- Makefile 28 Apr 2019 20:51:43 -0000 1.62
+++ Makefile 14 Jun 2019 20:08:58 -0000
@@ -10,8 +10,8 @@ SUBST_VARS= GH_TAGNAME
PKGNAME-main= ${DISTNAME}
PKGNAME-webkit= ${GH_PROJECT}-webkit-${GH_TAGNAME}
-REVISION-main= 3
-REVISION-webkit= 2
+REVISION-main= 4
+REVISION-webkit= 3
CATEGORIES= net
Index: patches/patch-bindings_perl_t_CMakeLists_txt
===================================================================
RCS file: patches/patch-bindings_perl_t_CMakeLists_txt
diff -N patches/patch-bindings_perl_t_CMakeLists_txt
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-bindings_perl_t_CMakeLists_txt 14 Jun 2019 20:08:58
-0000
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+https://cmake.org/cmake/help/v3.0/policy/CMP0037.html
+Fix cmake policy CMP0037 to avoid multiple ninja targets.
+
+"Target names reserved by one or more CMake generators are not allowed. Among
+others these include “all”, “help” and “test”."
+
+Index: bindings/perl/t/CMakeLists.txt
+--- bindings/perl/t/CMakeLists.txt.orig
++++ bindings/perl/t/CMakeLists.txt
+@@ -1 +1 @@
+-add_custom_target(test prove -b ${CMAKE_CURRENT_SOURCE_DIR})
++add_custom_target(test-prove prove -b ${CMAKE_CURRENT_SOURCE_DIR})