Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Apr 2020 05:01:36 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r531395 - branches/2020Q2/deskutils/ausweisapp2
Message-ID:  <202004110501.03B51aST070169@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sat Apr 11 05:01:36 2020
New Revision: 531395
URL: https://svnweb.freebsd.org/changeset/ports/531395

Log:
  MFH: r531394
  
  deskutils/ausweisapp2: Fix build on FreeBSD 11.3
  
  CMake Error at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
    Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
    system variable OPENSSL_ROOT_DIR: Found unsuitable version "1.0.2s", but
    required is at least "1.1" (found /usr/lib/libcrypto.so)
  Call Stack (most recent call first):
    /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:391 (_FPHSA_FAILURE_MESSAGE)
    /usr/local/share/cmake/Modules/FindOpenSSL.cmake:447 (find_package_handle_standard_args)
    cmake/Libraries.cmake:71 (FIND_PACKAGE)
    CMakeLists.txt:145 (INCLUDE)
  
  While here remove unnecessary qt5-buildtools and qt5-linguisttools
  run dependencies.
  
  PR:		245088
  Approved by:	freebsd@sysctl.cz (maintainer)
  
  Approved by:	ports-secteam blanket

Modified:
  branches/2020Q2/deskutils/ausweisapp2/Makefile
Directory Properties:
  branches/2020Q2/   (props changed)

Modified: branches/2020Q2/deskutils/ausweisapp2/Makefile
==============================================================================
--- branches/2020Q2/deskutils/ausweisapp2/Makefile	Sat Apr 11 05:00:37 2020	(r531394)
+++ branches/2020Q2/deskutils/ausweisapp2/Makefile	Sat Apr 11 05:01:36 2020	(r531395)
@@ -2,7 +2,7 @@
 
 PORTNAME=	ausweisapp2
 DISTVERSION=	1.20.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	deskutils security
 
 MAINTAINER=	freebsd@sysctl.cz
@@ -21,11 +21,17 @@ USES=		cmake compiler:c++17-lang pkgconfig qmake qt:5 
 USE_GITHUB=	yes
 GH_ACCOUNT=	Governikus
 GH_PROJECT=	AusweisApp2
-USE_QT=		buildtools concurrent core declarative gui linguisttools \
-		network quickcontrols2 svg websockets widgets
+USE_QT=		concurrent core declarative gui network quickcontrols2 svg \
+		websockets widgets buildtools_build linguisttools_build
 
 # The VENDOR variable controls the name of the directory in ${PREFIX}/share.
 CMAKE_ARGS=	-DVENDOR=${PORTNAME}
 MAKE_ENV=	DESTDIR=${STAGEDIR}
+
+.include <bsd.port.options.mk>
+
+.if ${SSL_DEFAULT} == base && ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085
+CMAKE_ON+=	FORCE_LEGACY_OPENSSL
+.endif
 
 .include <bsd.port.mk>



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