pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/ucommon ucommon: Incompatible with OpenSSL 1.1. ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4557a66668a7
branches: trunk
changeset: 412421:4557a66668a7
user: nia <nia%pkgsrc.org@localhost>
date: Fri Mar 06 12:12:58 2020 +0000
description:
ucommon: Incompatible with OpenSSL 1.1. Force gnutls instead.
While here, clean up a bit.
Bump PKGREVISION.
diffstat:
devel/ucommon/Makefile | 18 ++++++++++--------
devel/ucommon/options.mk | 15 +++++----------
2 files changed, 15 insertions(+), 18 deletions(-)
diffs (69 lines):
diff -r 13ca504f61eb -r 4557a66668a7 devel/ucommon/Makefile
--- a/devel/ucommon/Makefile Fri Mar 06 12:04:22 2020 +0000
+++ b/devel/ucommon/Makefile Fri Mar 06 12:12:58 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2020/01/18 21:48:10 jperkin Exp $
+# $NetBSD: Makefile,v 1.17 2020/03/06 12:12:58 nia Exp $
DISTNAME= ucommon-7.0.0
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=commoncpp/}
@@ -10,17 +10,19 @@
COMMENT= Very light-weight C++ library for deeply embedded applications
LICENSE= gnu-lgpl-v3
-USE_CMAKE= yes
-USE_LANGUAGES= c c++
-USE_TOOLS+= intltool pkg-config
-#USE_LIBTOOL= yes
+USE_CMAKE= yes
+USE_LANGUAGES= c c++
+USE_TOOLS+= pkg-config
+
+# Incompatible with OpenSSL 1.1
+CMAKE_ARGS+= -DCRYPTO_OPENSSL=OFF
+
PKGCONFIG_OVERRIDE+= commoncpp.pc.in
PKGCONFIG_OVERRIDE+= ucommon.pc.in
-.include "options.mk"
-
LDFLAGS.SunOS+= -lsocket -lnsl -lintl
+.include "options.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
diff -r 13ca504f61eb -r 4557a66668a7 devel/ucommon/options.mk
--- a/devel/ucommon/options.mk Fri Mar 06 12:04:22 2020 +0000
+++ b/devel/ucommon/options.mk Fri Mar 06 12:12:58 2020 +0000
@@ -1,21 +1,16 @@
-# $NetBSD: options.mk,v 1.4 2020/01/25 10:45:10 jperkin Exp $
+# $NetBSD: options.mk,v 1.5 2020/03/06 12:12:58 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.ucommon
-PKG_SUPPORTED_OPTIONS= gnutls openssl tests
-PKG_SUGGESTED_OPTIONS+= openssl
+PKG_SUPPORTED_OPTIONS= gnutls tests
+PKG_SUGGESTED_OPTIONS+= gnutls
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mgnutls)
+CMAKE_ARGS+= -DCRYPTO_GNUTLS=ON
BUILDLINK_API_DEPENDS.gnutls+= gnutls>=3.0.0
.include "../../security/gnutls/buildlink3.mk"
-.endif
-
-.if !empty(PKG_OPTIONS:Mopenssl)
-.include "../../security/openssl/buildlink3.mk"
-CMAKE_ARGS+= -DCRYPTO_OPENSSL=ON
-.else
-CMAKE_ARGS+= -DCRYPTO_OPENSSL=OFF
+CMAKE_ARGS+= -DCRYPTO_GNUTLS=OFF
.endif
.if !empty(PKG_OPTIONS:Mtests)
Home |
Main Index |
Thread Index |
Old Index