head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2026.11.03.14.47.35; author riastradh; state Exp; branches; next ; commitid itfAlal52XZSB12H; desc @@ 1.1 log @security/pkcs11-provider: Fix build with base openssl. Just arrange to install modules into $PREFIX/lib/ossl-modules for base openssl; it is the user's responsibility to set OPENSSL_MODULES or pass -provider-path or otherwise configure base openssl to use pkgsrc modules. No change to build with pkgsrc openssl, and this didn't build with base openssl before, so no revbump. @ text @$NetBSD$ Allow pkgsrc to override OpenSSL module dir in case pkg-config doesn't provide it. --- meson.build.orig 2026-09-22 14:45:27.000000000 +0000 +++ meson.build @@@@ -49,7 +49,10 @@@@ libcrypto = dependency('libcrypto', vers if not libcrypto.found() libcrypto = dependency('libcrypto3', version: '>= 3.0.7', required: true) endif +provider_path = get_option('modules_dir') +if provider_path == '' provider_path = libcrypto.get_variable(pkgconfig: 'modulesdir') +endif libssl = dependency('libssl', version: '>= 3.0.7', required: false) if not libssl.found() libssl = dependency('libssl3', version: '>= 3.0.7', required: true, method: 'pkg-config') @