On Mon Apr 24, 2017 at 08:43:38PM +0200, Rafael Sadowski wrote:
> Hi ports@,
>
> libktorrent without Doxygen and dditional CMake policies.
>
> OK? Comments?
>
> Best regards,
>
> Rafael Sadowski
>
New diff below with -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen from jca@.
Thanks, Rafael
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/libktorrent/Makefile,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 Makefile
--- Makefile 12 Aug 2015 12:33:02 -0000 1.11
+++ Makefile 25 Apr 2017 06:15:31 -0000
@@ -27,11 +27,19 @@ MODKDE4_USE = libs
MODKDE4_LIB_LINKS = Yes
BUILD_DEPENDS = devel/boost \
- devel/doxygen \
devel/gettext-tools
LIB_DEPENDS = devel/gmp \
security/libgcrypt \
security/qca2
+
+CONFIGURE_ARGS += -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen:Bool=Yes
+
+# XXX Silently ignore non-existent dependencies
+CONFIGURE_ARGS += -DCMAKE_POLICY_DEFAULT_CMP0053=OLD
+CONFIGURE_ARGS += -DCMAKE_POLICY_DEFAULT_CMP0054=OLD
+CONFIGURE_ARGS += -DCMAKE_POLICY_DEFAULT_CMP0064=OLD
+# XXX Don't treat ``DEFINITIONS`` as a built-in directory property
+CONFIGURE_ARGS += -DCMAKE_POLICY_DEFAULT_CMP0059=OLD
.include <bsd.port.mk>