| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/archivers/zchunk/files/ |
Upload File : |
--- meson.build.orig 2022-02-20 17:07:24 UTC
+++ meson.build
@@ -43,10 +43,19 @@ endif
if build_machine.system() == 'windows'
openssl_dep = dependency('openssl', modules : ['OpenSSL::SSL', 'OpenSSL::Crypto'], required : get_option('with-openssl'))
else
- openssl_dep = dependency('openssl', required : get_option('with-openssl'))
+ openssl_dep = dependency('openssl', required : false)
endif
if openssl_dep.found()
add_project_arguments('-DZCHUNK_OPENSSL', language : 'c')
+else
+ openssl_dep = [
+ cc.find_library('ssl', required: get_option('with-openssl')),
+ cc.find_library('crypto', required: get_option('with-openssl'))
+ ]
+ openssl_dep = openssl_dep[0]
+ if openssl_dep.found()
+ add_project_arguments('-DZCHUNK_OPENSSL', language : 'c')
+ endif
endif
# includes