pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/libwebsockets



Module Name:    pkgsrc
Committed By:   bouyer
Date:           Wed May 26 19:38:28 UTC 2021

Modified Files:
        pkgsrc/www/libwebsockets: Makefile distinfo
Added Files:
        pkgsrc/www/libwebsockets/patches: patch-CMakeLists.txt

Log Message:
Don't use libdl on BSD systems
Bump PKGREVISION


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/libwebsockets/Makefile \
    pkgsrc/www/libwebsockets/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/www/libwebsockets/patches/patch-CMakeLists.txt

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

Modified files:

Index: pkgsrc/www/libwebsockets/Makefile
diff -u pkgsrc/www/libwebsockets/Makefile:1.1 pkgsrc/www/libwebsockets/Makefile:1.2
--- pkgsrc/www/libwebsockets/Makefile:1.1       Mon Nov  2 12:32:20 2020
+++ pkgsrc/www/libwebsockets/Makefile   Wed May 26 19:38:28 2021
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.1 2020/11/02 12:32:20 nia Exp $
+# $NetBSD: Makefile,v 1.2 2021/05/26 19:38:28 bouyer Exp $
 
 DISTNAME=      libwebsockets-4.1.4
 CATEGORIES=    www
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=warmcat/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
+PKGREVISION=   1
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://libwebsockets.org/
Index: pkgsrc/www/libwebsockets/distinfo
diff -u pkgsrc/www/libwebsockets/distinfo:1.1 pkgsrc/www/libwebsockets/distinfo:1.2
--- pkgsrc/www/libwebsockets/distinfo:1.1       Mon Nov  2 12:32:20 2020
+++ pkgsrc/www/libwebsockets/distinfo   Wed May 26 19:38:28 2021
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.1 2020/11/02 12:32:20 nia Exp $
+$NetBSD: distinfo,v 1.2 2021/05/26 19:38:28 bouyer Exp $
 
 SHA1 (libwebsockets-4.1.4.tar.gz) = 8b9d05000b99a258d457516252d76010d1d14c07
 RMD160 (libwebsockets-4.1.4.tar.gz) = acdda72d912639c77d38032dd6074ceb3c603e32
 SHA512 (libwebsockets-4.1.4.tar.gz) = 4da84f612ad427465c4eea0bdd0db59c21c9e42bb21eb46b904f544dc4078af2c9a957e61430f3569b87cfc96b3addee50ac7a7c77777dcf16350fe441dd8854
 Size (libwebsockets-4.1.4.tar.gz) = 12698800 bytes
+SHA1 (patch-CMakeLists.txt) = 7d8a4d5d87ab887c78a914c09ae61f119c47737e
 SHA1 (patch-lib_core_context.c) = a0f7067a0ffa65b19a13945bfc1fe0cece5d2869

Added files:

Index: pkgsrc/www/libwebsockets/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/www/libwebsockets/patches/patch-CMakeLists.txt:1.1
--- /dev/null   Wed May 26 19:38:28 2021
+++ pkgsrc/www/libwebsockets/patches/patch-CMakeLists.txt       Wed May 26 19:38:28 2021
@@ -0,0 +1,15 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2021/05/26 19:38:28 bouyer Exp $
+
+Don't use libdl on BSD systems
+
+--- CMakeLists.txt.orig        2020-10-26 12:31:31.000000000 +0100
++++ CMakeLists.txt     2021-05-26 19:47:32.380836987 +0200
+@@ -539,7 +539,7 @@
+       list(APPEND LIB_LIST_AT_END "${ZLIB_LIBRARIES}")
+ endif()
+ 
+-if (LWS_WITH_PLUGINS_API AND UNIX AND NOT (${CMAKE_SYSTEM_NAME} MATCHES "QNX"))
++if (LWS_WITH_PLUGINS_API AND UNIX AND NOT (${CMAKE_SYSTEM_NAME} MATCHES "QNX") AND NOT (${CMAKE_SYSTEM_NAME} MATCHES "NetBSD") AND NOT (${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD") AND NOT 
(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD"))
+       list(APPEND LIB_LIST_AT_END "dl")
+ endif()
+ 



Home | Main Index | Thread Index | Old Index