mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
irc/irssi: Fix build with ssl from ports
Building with ssl from ports used the headers from ports, but still linked the libs from base and therefore failed. Patch meson.build to look for OpenSSL libs in ${OPENSSLLIB} to fix this. Approved by: portmgr (blanket, build fix)
This commit is contained in:
parent
833240cfd4
commit
71f0f861ce
@ -41,6 +41,9 @@ UTF8PROC_MESON_NO= disable-utf8proc
|
||||
|
||||
PERL_USE_OFF= perl5=build
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} 's|%%OPENSSLLIB%%|${OPENSSLLIB}|' ${WRKSRC}/meson.build
|
||||
|
||||
post-install-PERL-off:
|
||||
@${RM} -r ${STAGEDIR}${DATADIR}/scripts
|
||||
|
||||
|
12
irc/irssi/files/patch-meson.build
Normal file
12
irc/irssi/files/patch-meson.build
Normal file
@ -0,0 +1,12 @@
|
||||
--- meson.build.orig 2023-03-28 12:13:26 UTC
|
||||
+++ meson.build
|
||||
@@ -284,7 +284,8 @@ if glib_internal and want_static_dependency and want_f
|
||||
else
|
||||
openssl_dep = dependency('openssl', static : want_static_dependency, include_type : 'system')
|
||||
endif
|
||||
-dep += openssl_dep
|
||||
+dep += cc.find_library('crypto', dirs: '%%OPENSSLLIB%%')
|
||||
+dep += cc.find_library('ssl', dirs: '%%OPENSSLLIB%%')
|
||||
|
||||
############
|
||||
# utf8proc #
|
Loading…
Reference in New Issue
Block a user