www/elinks: Revert build-fix with ssl from ports

The build fix was only needed for breakage caused by pkgconf which has
meanwhile been fixed.

This reverts commit 9de718aaf7.
2024Q2
Felix Palmen 2024-03-16 07:49:09 +01:00
parent f6c9716b3c
commit 4c0ac6f6d1
1 changed files with 0 additions and 10 deletions

View File

@ -11,16 +11,6 @@
if compiler.has_header('libgen.h')
conf_data.set('HAVE_LIBGEN_H', 1)
endif
@@ -396,7 +400,8 @@ if conf_data.get('CONFIG_OPENSSL')
if conf_data.get('CONFIG_OPENSSL')
ssldeps = dependency('openssl', static: st, required: false)
if not ssldeps.found()
- ssldeps = compiler.find_library('ssl', static: st, dirs: [get_option('prefix')+'/lib', '/usr/local/lib'])
+ ssldeps = compiler.find_library('crypto', static: st, dirs: [get_option('prefix')+'/lib', '/usr/local/lib'])
+ ssldeps += compiler.find_library('ssl', static: st, dirs: [get_option('prefix')+'/lib', '/usr/local/lib'])
endif
deps += ssldeps
conf_data.set('USE_OPENSSL', true)
@@ -959,7 +964,7 @@ endif
conf_data.set('HAVE_ICONV', 1)
endif