Index: head/deskutils/nextcloudclient/Makefile =================================================================== --- head/deskutils/nextcloudclient/Makefile (revision 488410) +++ head/deskutils/nextcloudclient/Makefile (revision 488411) @@ -1,52 +1,60 @@ # Created by: Mathieu Arnold # $FreeBSD$ PORTNAME= nextcloudclient PORTVERSION= 0.0.0.20181226 #PORTREVISION= 2 CATEGORIES= deskutils MAINTAINER= mr@FreeBSD.org COMMENT= NextCloud Desktop Syncing Client LICENSE= GPLv2 LIB_DEPENDS= libinotify.so:devel/libinotify \ libqt5keychain.so:security/qtkeychain@qt5 USES= cmake:outsource,noninja compiler:c++11-lib gmake iconv \ localbase:ldflags pkgconfig qt:5 sqlite ssl USE_QT= buildtools_build concurrent core dbus declarative gui linguist_build location network \ printsupport qmake_build sql webchannel webengine webkit widgets xml CMAKE_ARGS= -DBUILD_WITH_QT4:BOOL=OFF \ -DCMAKE_INSTALL_MANDIR:STRING=man \ -DWITH_STACK_PROTECTOR:BOOL=OFF USE_LDCONFIG= yes INSTALLS_ICONS= yes DEBUG= yes USE_GITHUB= yes GH_ACCOUNT= nextcloud GH_PROJECT= desktop GH_TAGNAME= 9cea77b0fbc7130134a02475ade3392c402ae1ce #OPTIONS_DEFINE= DEBUG DOCS OPTIONS_DEFINE= DEBUG # DOCS doesn't build currently #DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx \ # doxygen:devel/doxygen #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 pre-configure: @(cd ${WRKSRC} && ${CP} -f sync-exclude.lst sync-exclude.lst.sample) -.include +.include