mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
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:
@@ -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
|
||||
+
|
||||
|
||||
Reference in New Issue
Block a user