mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
sysutils/barrier: unbreak build on non-OpenSSL 3 systems (12 and 13)
Builds of barrier started failing on non-OpenSSL 3 systems after commit29ba81195a
with the following error: /wrkdirs/usr/ports/sysutils/barrier/work/barrier-2.4.0/src/lib/net/SecureUtils.cpp:163:25: error: use of undeclared identifier 'EVP_RSA_gen' auto* private_key = EVP_RSA_gen(2048); ^ 1 warning and 1 error generated. Applying the patch in commit29ba81195a
conditionally solves the issue. Approved by: portmgr (build fix blanket)
This commit is contained in:
parent
629834653c
commit
6d297011f9
@ -37,6 +37,12 @@ GUI_USES= qt:5
|
||||
GUI_USE= QT=core,gui,network,widgets,buildtools:build,qmake:build
|
||||
GUI_CMAKE_BOOL= BARRIER_BUILD_GUI
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092
|
||||
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src_lib_net_SecureUtils.cpp
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@${CP} -a ${WRKSRC_gulrak}/include ${WRKSRC}/ext/gulrak-filesystem/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user