git: fa4045fd3e14 - main - sysutils/bacula11-libs3: fix build with openssl3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 01 Sep 2023 10:30:27 UTC
The branch main has been updated by ronald: URL: https://cgit.FreeBSD.org/ports/commit/?id=fa4045fd3e14c65092a1cc34c628e519c6302343 commit fa4045fd3e14c65092a1cc34c628e519c6302343 Author: Ronald Klop <ronald@FreeBSD.org> AuthorDate: 2023-09-01 10:24:43 +0000 Commit: Ronald Klop <ronald@FreeBSD.org> CommitDate: 2023-09-01 10:29:26 +0000 sysutils/bacula11-libs3: fix build with openssl3 also pet portclippy PR: 273494 --- sysutils/bacula11-libs3/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/sysutils/bacula11-libs3/Makefile b/sysutils/bacula11-libs3/Makefile index 3b0f220a9d64..cc63e90e2762 100644 --- a/sysutils/bacula11-libs3/Makefile +++ b/sysutils/bacula11-libs3/Makefile @@ -13,11 +13,18 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS+= libcurl.so:ftp/curl +USES= compiler:gcc-c++11-lib gmake gnome ssl +USE_GNOME+= libxml2 + MAKEFILE= GNUmakefile MAKE_ARGS= MYDESTDIR=${STAGEDIR}/${PREFIX} \ MYINSTALL=install -USES= compiler:gcc-c++11-lib gmake gnome ssl -USE_GNOME+= libxml2 +.include <bsd.port.options.mk> + +.if (${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base) || \ + ${SSL_DEFAULT:Mopenssl3*} +CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L +.endif post-install: ${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/s3