pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/mosquitto



Module Name:    pkgsrc
Committed By:   bouyer
Date:           Tue Jun  8 10:12:55 UTC 2021

Modified Files:
        pkgsrc/net/mosquitto: Makefile
Added Files:
        pkgsrc/net/mosquitto: options.mk

Log Message:
Add a websockets option, defaulting to on.
bump PKGREVISION
ok gdt@


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/net/mosquitto/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/net/mosquitto/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/mosquitto/Makefile
diff -u pkgsrc/net/mosquitto/Makefile:1.22 pkgsrc/net/mosquitto/Makefile:1.23
--- pkgsrc/net/mosquitto/Makefile:1.22  Tue Apr  6 13:16:22 2021
+++ pkgsrc/net/mosquitto/Makefile       Tue Jun  8 10:12:55 2021
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.22 2021/04/06 13:16:22 gdt Exp $
+# $NetBSD: Makefile,v 1.23 2021/06/08 10:12:55 bouyer Exp $
 
 DISTNAME=      mosquitto-2.0.10
 CATEGORIES=    net
 MASTER_SITES=  https://mosquitto.org/files/source/
+PKGREVISION=   1
 
 MAINTAINER=    gdt%NetBSD.org@localhost
 HOMEPAGE=      https://mosquitto.org/
@@ -53,6 +54,7 @@ FILES_SUBST+= VARBASE=${VARBASE}
 TEST_TARGET=   test
 .include "../../devel/cunit/buildlink3.mk"
 
+.include "options.mk"   
 .include "../../devel/libuuid/buildlink3.mk"
 .include "../../devel/uthash/buildlink3.mk"
 # ?needed

Added files:

Index: pkgsrc/net/mosquitto/options.mk
diff -u /dev/null pkgsrc/net/mosquitto/options.mk:1.1
--- /dev/null   Tue Jun  8 10:12:55 2021
+++ pkgsrc/net/mosquitto/options.mk     Tue Jun  8 10:12:55 2021
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.1 2021/06/08 10:12:55 bouyer Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.mosquitto
+PKG_SUPPORTED_OPTIONS= websockets
+PKG_SUGGESTED_OPTIONS= websockets
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mwebsockets)
+CMAKE_ARGS+=   -DWITH_WEBSOCKETS=yes
+.include "../../www/libwebsockets/buildlink3.mk"
+.else
+CMAKE_ARGS+=   -DWITH_WEBSOCKETS=no
+.endif



Home | Main Index | Thread Index | Old Index