pkgsrc/net/glib-networking/hacks.mk
leot 17277d8438 glib-networking: Update to 2.60.3
pkgsrc changes:
 - Add options.mk in order to be able to select between `gnutls' and
  `openssl'.  However, no defaults are changed: `openssl' is
   considered experimental by upstream at the moment.
 - Remove dependency to mozilla-rootcerts (default gnutls/openssl
   certificates are now honored instead, should be part of
   Makefile,-r1.41 commit, sorry!)

Changes:
2.60.3
======
 - Fix clobbering of the thread-default main context after certificate
   verification failure during async handshakes since 2.60.1 (#85)
 - Fix GTlsDatabase initialization failures in OpenSSL backend due to
   uninitialized memory use
 - Fix minor leak of ALPN protocols

2.60.2
======
 - OpenSSL backend now defaults to system trust store (#62)
 - Fix client auth failure error with GnuTLS 3.6.7 (#70)
2019-06-12 22:04:40 +00:00

16 lines
613 B
Makefile

# $NetBSD: hacks.mk,v 1.2 2019/06/12 22:04:40 leot Exp $
# devel/glib2 expects modules to end in .so on darwin
# net/glib-networking uses py-meson to build
# py-meson's build.py SharedModule class inherits from SharedLibrary and assumes .dylib suffix
# (true as of py36-meson-0.44.1nb3)
.if ${OPSYS} == "Darwin"
post-install:
for l in libgiognomeproxy libgiognutls libgiolibproxy libgioopenssl; do \
if ${TEST} -f "${DESTDIR}${PREFIX}/lib/gio/modules/$${l}.dylib"; then \
${MV} "${DESTDIR}${PREFIX}/lib/gio/modules/$${l}.dylib" \
"${DESTDIR}${PREFIX}/lib/gio/modules/$${l}.so"; \
fi; \
done
.endif