freebsd-ports/devel/libopkele/Makefile
Bernard Spil 0467bf077e Chase rename of security/openssl111
- Categories a-m

MFH:		2020Q1
2020-01-01 17:27:54 +00:00

45 lines
1.3 KiB
Makefile

# Created by: Sutra Zhou <zhoushuqun@gmail.com>
# $FreeBSD$
PORTNAME= libopkele
PORTVERSION= 2.0.4
PORTREVISION= 18
CATEGORIES= devel
MASTER_SITES= http://kin.klever.net/dist/
MAINTAINER= zhoushuqun@gmail.com
COMMENT= C++ implementation of an OpenID decentralized identity system
BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs
RUN_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs
LIB_DEPENDS= libcurl.so:ftp/curl \
libpcre.so:devel/pcre \
libexpat.so:textproc/expat2 \
libtidy.so:www/tidy-lib \
libxslt.so:textproc/libxslt
BROKEN_SSL= openssl
BROKEN_SSL_REASON_openssl= member access into incomplete type 'DH' (aka 'dh_st')
USES= gmake libtool localbase:ldflags pathfix \
pkgconfig ssl
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= "OPENSSL_CFLAGS=${CFLAGS} -l${OPENSSLINC}" \
OPENSSL_LIBS=-L${OPENSSLLIB}
.include <bsd.port.pre.mk>
# If we use the base OpenSSL either by default or
# by design, we need to remove the openssl dependency
# in pkgconfig/libopkele.pc.
.if ${SSL_DEFAULT} == base
BROKEN_FreeBSD_12= error: member access into incomplete type 'DH' (aka 'dh_st')
BROKEN_FreeBSD_13= error: member access into incomplete type 'DH' (aka 'dh_st')
post-patch:
@ ${REINPLACE_CMD} -e "s|Requires: openssl|Requires:|" ${WRKSRC}/libopkele.pc.in
.endif
.include <bsd.port.post.mk>