| @@ -1,18 +1,19 @@ | | | @@ -1,18 +1,19 @@ |
1 | # $NetBSD: Makefile,v 1.22 2021/04/06 13:16:22 gdt Exp $ | | 1 | # $NetBSD: Makefile,v 1.23 2021/06/08 10:12:55 bouyer Exp $ |
2 | | | 2 | |
3 | DISTNAME= mosquitto-2.0.10 | | 3 | DISTNAME= mosquitto-2.0.10 |
4 | CATEGORIES= net | | 4 | CATEGORIES= net |
5 | MASTER_SITES= https://mosquitto.org/files/source/ | | 5 | MASTER_SITES= https://mosquitto.org/files/source/ |
| | | 6 | PKGREVISION= 1 |
6 | | | 7 | |
7 | MAINTAINER= gdt@NetBSD.org | | 8 | MAINTAINER= gdt@NetBSD.org |
8 | HOMEPAGE= https://mosquitto.org/ | | 9 | HOMEPAGE= https://mosquitto.org/ |
9 | COMMENT= Open Source MQTT broker | | 10 | COMMENT= Open Source MQTT broker |
10 | LICENSE= epl-v1.0 | | 11 | LICENSE= epl-v1.0 |
11 | | | 12 | |
12 | BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt | | 13 | BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt |
13 | | | 14 | |
14 | USE_LANGUAGES+= c c++ | | 15 | USE_LANGUAGES+= c c++ |
15 | # Upstream documents that "unix" should use make, but Mac cmake. | | 16 | # Upstream documents that "unix" should use make, but Mac cmake. |
16 | # After asking and receiving no guidance, choose to always use cmake. | | 17 | # After asking and receiving no guidance, choose to always use cmake. |
17 | # https://github.com/eclipse/mosquitto/issues/1041 | | 18 | # https://github.com/eclipse/mosquitto/issues/1041 |
18 | USE_CMAKE= yes | | 19 | USE_CMAKE= yes |
| @@ -43,19 +44,20 @@ FILES_SUBST+= MOSQUITTO_GROUP=${MOSQUITT | | | @@ -43,19 +44,20 @@ FILES_SUBST+= MOSQUITTO_GROUP=${MOSQUITT |
43 | FILES_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR} | | 44 | FILES_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR} |
44 | FILES_SUBST+= VARBASE=${VARBASE} | | 45 | FILES_SUBST+= VARBASE=${VARBASE} |
45 | | | 46 | |
46 | # mosquitto's build system is very troubled, and the tests do not | | 47 | # mosquitto's build system is very troubled, and the tests do not |
47 | # currently work. | | 48 | # currently work. |
48 | # https://github.com/eclipse/mosquitto/issues/1242 | | 49 | # https://github.com/eclipse/mosquitto/issues/1242 |
49 | # https://github.com/eclipse/mosquitto/issues/1330 | | 50 | # https://github.com/eclipse/mosquitto/issues/1330 |
50 | # | | 51 | # |
51 | # \todo invoke "gmake test" in tests/ subdir instead of at top level | | 52 | # \todo invoke "gmake test" in tests/ subdir instead of at top level |
52 | # \todo pass in CPPFLAGS/LDFLAGS to test invocation | | 53 | # \todo pass in CPPFLAGS/LDFLAGS to test invocation |
53 | TEST_TARGET= test | | 54 | TEST_TARGET= test |
54 | .include "../../devel/cunit/buildlink3.mk" | | 55 | .include "../../devel/cunit/buildlink3.mk" |
55 | | | 56 | |
| | | 57 | .include "options.mk" |
56 | .include "../../devel/libuuid/buildlink3.mk" | | 58 | .include "../../devel/libuuid/buildlink3.mk" |
57 | .include "../../devel/uthash/buildlink3.mk" | | 59 | .include "../../devel/uthash/buildlink3.mk" |
58 | # ?needed | | 60 | # ?needed |
59 | .include "../../net/libcares/buildlink3.mk" | | 61 | .include "../../net/libcares/buildlink3.mk" |
60 | .include "../../security/openssl/buildlink3.mk" | | 62 | .include "../../security/openssl/buildlink3.mk" |
61 | .include "../../mk/bsd.pkg.mk" | | 63 | .include "../../mk/bsd.pkg.mk" |