pkgsrc-WIP-changes archive

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

mosquitto: switch to cmake



Module Name:	pkgsrc-wip
Committed By:	Greg Troxel <gdt%lexort.com@localhost>
Pushed By:	gdt
Date:		Wed Aug 1 14:39:32 2018 -0400
Changeset:	dbf321566b3d1f3a6ad4fc6b2152f97bc74add46

Modified Files:
	mosquitto/Makefile
	mosquitto/PLIST

Log Message:
mosquitto: switch to cmake

mosquitto inexplicably has plain makefiles and cmake.  Switch to
always use cmake, and adjust shlib names.  Also add libuuid, which is
a documented dependency.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=dbf321566b3d1f3a6ad4fc6b2152f97bc74add46

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

diffstat:
 mosquitto/Makefile | 10 +++++++---
 mosquitto/PLIST    |  2 ++
 2 files changed, 9 insertions(+), 3 deletions(-)

diffs:
diff --git a/mosquitto/Makefile b/mosquitto/Makefile
index a52a085015..2509e34632 100644
--- a/mosquitto/Makefile
+++ b/mosquitto/Makefile
@@ -1,17 +1,20 @@
 # $NetBSD$
 
-DISTNAME=	mosquitto-${VERSION}
 VERSION=	1.4.15
+DISTNAME=	mosquitto-${VERSION}
+PKGREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	http://mosquitto.org/files/source/
 
-MAINTAINER=	amoibos%gmail.com@localhost
+#MAINTAINER=	amoibos%gmail.com@localhost
+MAINTAINER=	gdt%NetBSD.org@localhost
 HOMEPAGE=	http://mosquitto.org/
 COMMENT=	Open Source MQTT broker
 LICENSE=	epl-v1.0
 
 USE_LANGUAGES+=	c c++
-USE_TOOLS+=	cmake gmake
+USE_CMAKE=	yes
+USE_TOOLS+=	gmake
 
 TEST_TARGET=	test
 
@@ -24,5 +27,6 @@ post-install:
 	mkdir ${DESTDIR}${PREFIX}/share/examples/mosquitto
 	${INSTALL_DATA}	${WRKSRC}/pskfile.example ${WRKSRC}/pwfile.example ${WRKSRC}/mosquitto.conf ${WRKSRC}/aclfile.example ${DESTDIR}${PREFIX}/share/examples/mosquitto
 
+.include "../../devel/libuuid/buildlink3.mk"
 .include "../../net/libcares/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/mosquitto/PLIST b/mosquitto/PLIST
index 96a9ce182a..eeeeffc160 100644
--- a/mosquitto/PLIST
+++ b/mosquitto/PLIST
@@ -7,8 +7,10 @@ include/mosquitto_plugin.h
 include/mosquittopp.h
 lib/libmosquitto.so
 lib/libmosquitto.so.1
+lib/libmosquitto.so.${PKGVERSION}
 lib/libmosquittopp.so
 lib/libmosquittopp.so.1
+lib/libmosquittopp.so.${PKGVERSION}
 man/man1/mosquitto_passwd.1
 man/man1/mosquitto_pub.1
 man/man1/mosquitto_sub.1


Home | Main Index | Thread Index | Old Index