svn commit: r488411 - head/deskutils/nextcloudclient
Michael Reifenberger
mr at FreeBSD.org
Wed Dec 26 18:04:48 UTC 2018
Author: mr
Date: Wed Dec 26 18:04:47 2018
New Revision: 488411
URL: https://svnweb.freebsd.org/changeset/ports/488411
Log:
Add missing checks for openssl 1.1
PR: 233260
Modified:
head/deskutils/nextcloudclient/Makefile
Modified: head/deskutils/nextcloudclient/Makefile
==============================================================================
--- head/deskutils/nextcloudclient/Makefile Wed Dec 26 17:50:12 2018 (r488410)
+++ head/deskutils/nextcloudclient/Makefile Wed Dec 26 18:04:47 2018 (r488411)
@@ -38,10 +38,18 @@ OPTIONS_DEFINE= DEBUG # DOCS doesn't build currently
#DOCS_USE= tex=dvipsk:build,latex:build
#DOCS_CMAKE_ON= -DWITH_DOC:BOOL=ON
-DEBUG_CMAKE_ON= -DCMAKE_BUILD_TYPE:STRING=Debug
-
PLIST_SUB= VERSION=${PORTVERSION}
+.include <bsd.port.pre.mk>
+
+.ifdef WITH_DEBUG
+CMAKE_ARGS+= -DCMAKE_BUILD_TYPE:STRING=Debug
+.endif
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 && !${SSL_DEFAULT:Mopenssl111}
+BROKEN= nextcloudclient requires OpenSSL 1.1.0, add DEFAULT_VERSIONS+=ssl=openssl111 to /etc/make.conf
+.endif
+
post-patch:
@${REINPLACE_CMD} -e \
's|.lst |.lst.sample |' ${WRKSRC}/CMakeLists.txt
@@ -49,4 +57,4 @@ post-patch:
pre-configure:
@(cd ${WRKSRC} && ${CP} -f sync-exclude.lst sync-exclude.lst.sample)
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
More information about the svn-ports-all
mailing list