freebsd-ports/security/razorback-api/Makefile
Matthias Fechner 5ba7763a3f Mark the port also broken if OpenSSL 1.1.1 from ports is used.
Same error message:
incomplete definition of type 'struct rsa_st'
like you have with base SSL from FreeBSD 12 and 13.

PR:		240094
2019-08-28 21:05:04 +00:00

48 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= api
PORTVERSION= 0.5.0
PORTREVISION= 7
CATEGORIES= security
MASTER_SITES= SF/razorbacktm/API
PKGNAMEPREFIX= razorback-
DIST_SUBDIR= razorback
MAINTAINER= ports@FreeBSD.org
COMMENT= Framework for an intelligence driven security solution - API
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libconfig.so:devel/libconfig \
libuuid.so:misc/e2fsprogs-libuuid \
libcurl.so:ftp/curl \
libjson-c.so:devel/json-c
OPTIONS_DEFINE= DEBUG ASSERT CNC_DEBUG STOMP_DEBUG
CNC_DEBUG_DESC= Enable Command and Control Debug
STOMP_DEBUG_DESC= Enable STOMP Debug
GNU_CONFIGURE= yes
USES= libtool pathfix pkgconfig
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
DEBUG_CONFIGURE_ENABLE= debug
ASSERT_CONFIGURE_ENABLE= assert
CNC_DEBUG_CONFIGURE_ENABLE= cnc-debug
STOMP_DEBUG_CONFIGURE_ENABLE= stomp-debug
.include <bsd.port.pre.mk>
.if ${SSL_DEFAULT} == base || ${SSL_DEFAULT} == openssl111
BROKEN_FreeBSD_12= incomplete definition of type 'struct rsa_st'
BROKEN_FreeBSD_13= incomplete definition of type 'struct rsa_st'
.endif
post-patch:
@${REINPLACE_CMD} -e s/json/json-c/ -e s/-Werror// ${WRKSRC}/configure
.include <bsd.port.post.mk>