From ed6908d89eb95d5647fe849d3b824862fe84f7e5 Mon Sep 17 00:00:00 2001 From: Guido Falsi Date: Tue, 11 Dec 2018 20:40:47 +0000 Subject: - Mark pokerth broken with OpenSSL 1.1 and newer - Silence portling warning --- games/pokerth/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'games') diff --git a/games/pokerth/Makefile b/games/pokerth/Makefile index e964bb92e302..aeff6dd6cc42 100644 --- a/games/pokerth/Makefile +++ b/games/pokerth/Makefile @@ -16,6 +16,9 @@ LICENSE_FILE= ${WRKSRC}/COPYING DEPRECATED= Qt4 has been EOL since december 2015 EXPIRATION_DATE= 2019-03-15 +BROKEN_SSL= openssl111 openssl-devel +BROKEN_SSL_REASON= Does not build with OpenSSL 1.1, variable has incomplete type 'EVP_CIPHER_CTX' + LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libmikmod.so:audio/libmikmod \ libgnutls.so:security/gnutls \ @@ -31,6 +34,7 @@ USE_CXXSTD= c++11 USE_QT= gui corelib network sql sql-sqlite3 \ moc_build rcc_build uic_build USE_SDL= mixer + QMAKE_SOURCE_PATH= pokerth.pro QMAKE_ARGS+= CONFIG+="client" WRKSRC= ${WRKDIR}/${DISTNAME}-rc @@ -39,6 +43,12 @@ PORTDOCS= server_setup_howto.txt OPTIONS_DEFINE= DOCS +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200085 && ${SSL_DEFAULT} == base +BROKEN= ${BROKEN_SSL_REASON} +.endif + post-patch: @${REINPLACE_CMD} -E \ -e 's|/usr([a-z|/]*)|${LOCALBASE}/\1|g' \ -- cgit