From owner-svn-ports-all@freebsd.org Wed Dec 26 18:04:48 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5C7471358681; Wed, 26 Dec 2018 18:04:48 +0000 (UTC) (envelope-from mr@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EAAF78C02E; Wed, 26 Dec 2018 18:04:47 +0000 (UTC) (envelope-from mr@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D62C2271FD; Wed, 26 Dec 2018 18:04:47 +0000 (UTC) (envelope-from mr@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wBQI4l63075324; Wed, 26 Dec 2018 18:04:47 GMT (envelope-from mr@FreeBSD.org) Received: (from mr@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wBQI4ln0075323; Wed, 26 Dec 2018 18:04:47 GMT (envelope-from mr@FreeBSD.org) Message-Id: <201812261804.wBQI4ln0075323@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mr set sender to mr@FreeBSD.org using -f From: Michael Reifenberger Date: Wed, 26 Dec 2018 18:04:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r488411 - head/deskutils/nextcloudclient X-SVN-Group: ports-head X-SVN-Commit-Author: mr X-SVN-Commit-Paths: head/deskutils/nextcloudclient X-SVN-Commit-Revision: 488411 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: EAAF78C02E X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.95)[-0.948,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Dec 2018 18:04:48 -0000 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 + +.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 +.include