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 @@ -1,26 +1,33 @@ PORTNAME= bacula11-libs3 PORTVERSION= 20200523 CATEGORIES= sysutils MASTER_SITES= https://www.bacula.org/downloads/ DISTNAME= libs3-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} MAINTAINER= ml@netfence.it COMMENT= Bacula libs3 WWW= https://www.bacula.org/ LICENSE= LGPL3 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 + +.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 ${STRIP_CMD} ${STAGEDIR}/${PREFIX}/lib/libs3.so.4.1.bac .include