pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/xca xca: Switch from qt4 to qt5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e5c22c849b70
branches:  trunk
changeset: 416555:e5c22c849b70
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Sun Oct 27 12:08:29 2019 +0000

description:
xca: Switch from qt4 to qt5

Address a selection of warnings from pkglint.
Fix perl usage.

Drop options as they were qt4 specific.

diffstat:

 security/xca/Makefile   |  16 ++++++++--------
 security/xca/options.mk |  28 ----------------------------
 2 files changed, 8 insertions(+), 36 deletions(-)

diffs (69 lines):

diff -r 224278518579 -r e5c22c849b70 security/xca/Makefile
--- a/security/xca/Makefile     Sun Oct 27 10:43:43 2019 +0000
+++ b/security/xca/Makefile     Sun Oct 27 12:08:29 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2019/08/13 02:39:45 brook Exp $
+# $NetBSD: Makefile,v 1.2 2019/10/27 12:08:29 kamil Exp $
 
 DISTNAME=      xca-2.1.2
+PKGREVISION=   1
 CATEGORIES=    security
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=chris2511/}
 GITHUB_RELEASE=        RELEASE.2.1.2
@@ -11,18 +12,17 @@
 LICENSE=       modified-bsd
 
 GNU_CONFIGURE=         yes
-USE_TOOLS+=            gmake pkg-config
-USE_LANGUAGES=         c++
+USE_TOOLS+=            gmake pkg-config perl
+USE_LANGUAGES=         c c++
 DESTDIR_VARNAME=       destdir
 
-INSTALLATION_DIRS+=    bin man/man1
+REPLACE_PERL+=         doc/code2html
+
+INSTALLATION_DIRS+=    bin ${PKGMANDIR}/man1
 INSTALLATION_DIRS+=    share/applications share/mime/packages share/pixmaps
 INSTALLATION_DIRS+=    share/doc/xca share/xca
 
-.include "options.mk"
-
 .include "../../devel/libltdl/buildlink3.mk"
 .include "../../security/openssl/buildlink3.mk"
-.include "../../x11/qt4-libs/buildlink3.mk"
-.include "../../x11/qt4-tools/buildlink3.mk"
+.include "../../x11/qt5-qtbase/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 224278518579 -r e5c22c849b70 security/xca/options.mk
--- a/security/xca/options.mk   Sun Oct 27 10:43:43 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-# $NetBSD $
-
-PKG_OPTIONS_VAR=       PKG_OPTIONS.xca
-PKG_SUPPORTED_OPTIONS= sqlite3 mysql pgsql
-PKG_SUGGESTED_OPTIONS= sqlite3
-
-.include "../../mk/bsd.options.mk"
-
-###
-### Use SQLite3 for storing certificate data
-###
-.if !empty(PKG_OPTIONS:Msqlite3)
-DEPENDS+=      qt4-sqlite3>=${QTVERSION}:../../x11/qt4-sqlite3
-.endif
-
-.if !empty(PKG_OPTIONS:Mmysql)
-###
-### Use MySQL for storing certificate data
-###
-DEPENDS+=      qt4-mysql>=${QTVERSION}:../../x11/qt4-mysql
-.endif
-
-###
-### Use PostgreSQL for storing certificate data
-###
-.if !empty(PKG_OPTIONS:Mpgsql)
-DEPENDS+=      qt4-pgsql>=${QTVERSION}:../../x11/qt4-pgsql
-.endif



Home | Main Index | Thread Index | Old Index