Sat Jan 30 10:17:55 2021 UTC ()
mosquitto: libxslt is a build dependency

xsltproc is used for generating the man pages.


(wiz)
diff -r1.16 -r1.17 pkgsrc/net/mosquitto/Makefile

cvs diff -r1.16 -r1.17 pkgsrc/net/mosquitto/Makefile (expand / switch to unified diff)

--- pkgsrc/net/mosquitto/Makefile 2021/01/30 07:31:30 1.16
+++ pkgsrc/net/mosquitto/Makefile 2021/01/30 10:17:55 1.17
@@ -1,24 +1,26 @@ @@ -1,24 +1,26 @@
1# $NetBSD: Makefile,v 1.16 2021/01/30 07:31:30 mef Exp $ 1# $NetBSD: Makefile,v 1.17 2021/01/30 10:17:55 wiz Exp $
2 2
3DISTNAME= mosquitto-2.0.6 3DISTNAME= mosquitto-2.0.6
4CATEGORIES= net 4CATEGORIES= net
5MASTER_SITES= https://mosquitto.org/files/source/ 5MASTER_SITES= https://mosquitto.org/files/source/
6 6
7MAINTAINER= gdt@NetBSD.org 7MAINTAINER= gdt@NetBSD.org
8HOMEPAGE= https://mosquitto.org/ 8HOMEPAGE= https://mosquitto.org/
9COMMENT= Open Source MQTT broker 9COMMENT= Open Source MQTT broker
10LICENSE= epl-v1.0 10LICENSE= epl-v1.0
11 11
 12BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
 13
12USE_LANGUAGES+= c c++ 14USE_LANGUAGES+= c c++
13# Upstream documents that "unix" should use make, but Mac cmake. 15# Upstream documents that "unix" should use make, but Mac cmake.
14# After asking and receiving no guidance, choose to always use cmake. 16# After asking and receiving no guidance, choose to always use cmake.
15# https://github.com/eclipse/mosquitto/issues/1041 17# https://github.com/eclipse/mosquitto/issues/1041
16USE_CMAKE= yes 18USE_CMAKE= yes
17USE_TOOLS+= gmake 19USE_TOOLS+= gmake
18 20
19LDFLAGS.SunOS+= -lsocket -lnsl 21LDFLAGS.SunOS+= -lsocket -lnsl
20CMAKE_ARGS+= -DCMAKE_INSTALL_SYSCONFDIR=${PREFIX}/share/examples 22CMAKE_ARGS+= -DCMAKE_INSTALL_SYSCONFDIR=${PREFIX}/share/examples
21 23
22MOSQUITTO_USER= mosquitto 24MOSQUITTO_USER= mosquitto
23MOSQUITTO_GROUP= mosquitto 25MOSQUITTO_GROUP= mosquitto
24 26
@@ -45,15 +47,14 @@ FILES_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCO @@ -45,15 +47,14 @@ FILES_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCO
45# https://github.com/eclipse/mosquitto/issues/1242 47# https://github.com/eclipse/mosquitto/issues/1242
46# https://github.com/eclipse/mosquitto/issues/1330 48# https://github.com/eclipse/mosquitto/issues/1330
47# 49#
48# \todo invoke "gmake test" in tests/ subdir instead of at top level 50# \todo invoke "gmake test" in tests/ subdir instead of at top level
49# \todo pass in CPPFLAGS/LDFLAGS to test invocation 51# \todo pass in CPPFLAGS/LDFLAGS to test invocation
50TEST_TARGET= test 52TEST_TARGET= test
51.include "../../devel/cunit/buildlink3.mk" 53.include "../../devel/cunit/buildlink3.mk"
52 54
53.include "../../devel/libuuid/buildlink3.mk" 55.include "../../devel/libuuid/buildlink3.mk"
54.include "../../devel/uthash/buildlink3.mk" 56.include "../../devel/uthash/buildlink3.mk"
55# ?needed 57# ?needed
56.include "../../net/libcares/buildlink3.mk" 58.include "../../net/libcares/buildlink3.mk"
57.include "../../security/openssl/buildlink3.mk" 59.include "../../security/openssl/buildlink3.mk"
58.include "../../textproc/libxslt/buildlink3.mk" 
59.include "../../mk/bsd.pkg.mk" 60.include "../../mk/bsd.pkg.mk"