Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Oct 2018 13:43:48 +0000 (UTC)
From:      =?UTF-8?Q?Romain_Tarti=c3=a8re?= <romain@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r481222 - head/security/yubikey-personalization-gui
Message-ID:  <201810041343.w94DhmdQ043459@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: romain
Date: Thu Oct  4 13:43:48 2018
New Revision: 481222
URL: https://svnweb.freebsd.org/changeset/ports/481222

Log:
  Build against QT5 by default
  
  QT4 is still supported and options where introduced to allow users to choose
  which version of QT they want yubikey-personalization-gui to be built against.
  
  While here, pet portlint.
  
  Since the version of QT change, bump PORTREVISION.
  
  PR:		231808
  Reported by:	cmt

Modified:
  head/security/yubikey-personalization-gui/Makefile

Modified: head/security/yubikey-personalization-gui/Makefile
==============================================================================
--- head/security/yubikey-personalization-gui/Makefile	Thu Oct  4 13:22:50 2018	(r481221)
+++ head/security/yubikey-personalization-gui/Makefile	Thu Oct  4 13:43:48 2018	(r481222)
@@ -3,6 +3,7 @@
 PORTNAME=	yubikey-personalization-gui
 PORTVERSION=	3.1.25
 DISTVERSIONPREFIX=	${PORTNAME}-
+PORTREVISION=	1
 CATEGORIES=	security
 
 MAINTAINER=	romain@FreeBSD.org
@@ -14,11 +15,19 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 LIB_DEPENDS=	libykpers-1.so:security/ykpers \
 		libyubikey.so:security/libyubikey
 
+USES=		pkgconfig qmake
 USE_GITHUB=	yes
+
 GH_ACCOUNT=	Yubico
 
-USES=		pkgconfig qmake qt:4
-USE_QT=		corelib gui moc_build rcc_build testlib_build uic_build
+OPTIONS_DEFAULT=	QT5
+OPTIONS_SINGLE=		QT
+OPTIONS_SINGLE_QT=	QT4 QT5
+
+QT4_USES=	qt:4
+QT5_USES=	qt:5
+QT4_USE=	qt=corelib,gui,moc_build,rcc_build,testlib_build,uic_build
+QT5_USE=	qt=buildtools_build,core,gui,testlib_build,widgets
 
 PLIST_FILES=	bin/yubikey-personalization-gui \
 		man/man1/yubikey-personalization-gui.1.gz \



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