Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Dec 2018 18:04:47 +0000 (UTC)
From:      Michael Reifenberger <mr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r488411 - head/deskutils/nextcloudclient
Message-ID:  <201812261804.wBQI4ln0075323@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812261804.wBQI4ln0075323>