net-libs/usockets: update to 0.5.0

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
This commit is contained in:
Aisha Tammy
2020-07-29 08:37:17 -04:00
parent ab2cb7fd3f
commit 76c4834856
3 changed files with 61 additions and 6 deletions

View File

@@ -1,8 +1,8 @@
diff --git a/Makefile b/Makefile
index fa6e2ff..ca2603f 100644
index 7d33414..6f3e53a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,14 @@
@@ -1,3 +1,13 @@
+DESTDIR ?=
+
+prefix ?= "/usr/local"
@@ -13,11 +13,10 @@ index fa6e2ff..ca2603f 100644
+# OpenBSD specific library version
+LIBTARGET = libusockets.so.$(LIBusockets_VERSION)
+
+
# WITH_OPENSSL=1 enables OpenSSL 1.1+ support
# WITH_OPENSSL=1 enables OpenSSL 1.1+ support or BoringSSL
ifeq ($(WITH_OPENSSL),1)
override CFLAGS += -DLIBUS_USE_OPENSSL
@@ -33,13 +44,27 @@ ifeq ($(WITH_ASAN),1)
@@ -33,13 +43,27 @@ ifeq ($(WITH_ASAN),1)
endif
override CFLAGS += -std=c11 -Isrc
@@ -49,9 +48,10 @@ index fa6e2ff..ca2603f 100644
# Builds all examples
.PHONY: examples
@@ -52,4 +77,5 @@ swift_examples:
@@ -52,4 +76,6 @@ swift_examples:
clean:
rm -f *.o
rm -f *.a
+ rm -f *.so
rm -rf .certs
+