View | Details | Raw Unified | Return to bug 271192 | Differences between
and this patch

Collapse All | Expand All

(-)b/net/jose/Makefile (-3 / +2 lines)
Lines 9-20 WWW= https://github.com/latchset/jose Link Here
9
LICENSE=	APACHE20
9
LICENSE=	APACHE20
10
LICENSE_FILE=	${WRKSRC}/COPYING
10
LICENSE_FILE=	${WRKSRC}/COPYING
11
11
12
BUILD_DEPENDS=	a2x:textproc/asciidoc
12
BUILD_DEPENDS=	a2x:textproc/asciidoc \
13
                jq:textproc/jq
13
LIB_DEPENDS=	libjansson.so:devel/jansson
14
LIB_DEPENDS=	libjansson.so:devel/jansson
14
15
15
USES=		compiler:c11 meson ninja pkgconfig ssl
16
USES=		compiler:c11 meson ninja pkgconfig ssl
16
BROKEN_SSL=	openssl30 openssl31
17
BROKEN_SSL_REASON=	Fails to build with lots of ld: error: undefined symbol: EVP_CIPHER_*
18
USE_GITHUB=	yes
17
USE_GITHUB=	yes
19
GH_ACCOUNT=	latchset
18
GH_ACCOUNT=	latchset
20
GH_TAGNAME=	v11
19
GH_TAGNAME=	v11
(-)b/net/jose/files/patch-meson.build (-11 / +3 lines)
Lines 1-20 Link Here
1
--- meson.build.orig	2021-05-07 13:04:06 UTC
1
--- meson.build.orig	2021-05-07 13:04:06 UTC
2
+++ meson.build
2
+++ meson.build
3
@@ -38,7 +38,7 @@ add_project_arguments(
4
 zlib = dependency('zlib')
5
 threads = dependency('threads')
6
 jansson = dependency('jansson', version: '>=2.10')
7
-libcrypto = dependency('libcrypto', version: '>=1.0.2')
8
+libcrypto = meson.get_compiler('c').find_library('crypto', dirs: [ '/usr/lib/' ])
9
 a2x = find_program('a2x', required: false)
10
 
11
 mans = []
12
@@ -60,7 +60,7 @@ pkg.generate(
3
@@ -60,7 +60,7 @@ pkg.generate(
13
   filebase: meson.project_name(),
4
   filebase: meson.project_name(),
14
   name: 'José Library',
5
   name: 'José Library',
15
 
6
 
16
-  requires_private: [ 'zlib', 'libcrypto' ],
7
-  requires_private: [ 'zlib', 'libcrypto' ],
17
+  requires_private: [ 'zlib' ],
8
+  libraries_private: [ zlib, libcrypto ],
18
   libraries: libjose,
9
   libraries: libjose,
19
   requires: 'jansson',
10
-   requires: 'jansson',
11
+   requires: jansson,
20
 )
12
 )

Return to bug 271192