pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/libwebsockets Don't use libdl on BSD systems



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d67ed5602449
branches:  trunk
changeset: 453279:d67ed5602449
user:      bouyer <bouyer%pkgsrc.org@localhost>
date:      Wed May 26 19:38:28 2021 +0000

description:
Don't use libdl on BSD systems
Bump PKGREVISION

diffstat:

 www/libwebsockets/Makefile                     |   3 ++-
 www/libwebsockets/distinfo                     |   3 ++-
 www/libwebsockets/patches/patch-CMakeLists.txt |  15 +++++++++++++++
 3 files changed, 19 insertions(+), 2 deletions(-)

diffs (47 lines):

diff -r af26fa75d213 -r d67ed5602449 www/libwebsockets/Makefile
--- a/www/libwebsockets/Makefile        Wed May 26 19:14:46 2021 +0000
+++ b/www/libwebsockets/Makefile        Wed May 26 19:38:28 2021 +0000
@@ -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/
diff -r af26fa75d213 -r d67ed5602449 www/libwebsockets/distinfo
--- a/www/libwebsockets/distinfo        Wed May 26 19:14:46 2021 +0000
+++ b/www/libwebsockets/distinfo        Wed May 26 19:38:28 2021 +0000
@@ -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
diff -r af26fa75d213 -r d67ed5602449 www/libwebsockets/patches/patch-CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/libwebsockets/patches/patch-CMakeLists.txt    Wed May 26 19:38:28 2021 +0000
@@ -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