diff options
author | gdt <gdt@pkgsrc.org> | 2019-05-02 19:01:17 +0000 |
---|---|---|
committer | gdt <gdt@pkgsrc.org> | 2019-05-02 19:01:17 +0000 |
commit | 4deb0cdb91ec470990e3ad1db756c1c8436717ce (patch) | |
tree | c5643577390020ec264d0366459d7fefa0419263 /geography/gpsbabel/Makefile | |
parent | a3a83a44fbbd729222f911b531959254ad807b9c (diff) | |
download | pkgsrc-4deb0cdb91ec470990e3ad1db756c1c8436717ce.tar.gz |
geography/gpsbabel: Update to 1.6.0
This switches to qt5 (from qt4).
Upstream changes since 1.5.2 in 2015 are basically a very large number
of bugfixes and minor improvements, as well as modernizing
dependencies.
See https://www.gpsbabel.org/changes.html for details.
Diffstat (limited to 'geography/gpsbabel/Makefile')
-rw-r--r-- | geography/gpsbabel/Makefile | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/geography/gpsbabel/Makefile b/geography/gpsbabel/Makefile index ae601b9de6b..7d8611e5a0f 100644 --- a/geography/gpsbabel/Makefile +++ b/geography/gpsbabel/Makefile @@ -1,10 +1,7 @@ -# $NetBSD: Makefile,v 1.20 2019/04/09 00:21:03 gdt Exp $ +# $NetBSD: Makefile,v 1.21 2019/05/02 19:01:17 gdt Exp $ # -# Update to 1.5.4 is 99% done, but stalled due to incompatibility with -# modern qt. Please check with $MAINTAINER before changing. -DISTNAME= gpsbabel-1.5.2 -PKGREVISION= 3 +DISTNAME= gpsbabel-1.6.0 CATEGORIES= geography MASTER_SITES= ${MASTER_SITE_LOCAL} # Download from official site apparently only via interactive form, @@ -14,19 +11,33 @@ MASTER_SITES= ${MASTER_SITE_LOCAL} MAINTAINER= gdt@NetBSD.org HOMEPAGE= http://www.gpsbabel.org/ +#HOMEPAGE= https://github.com/gpsbabel/gpsbabel COMMENT= Utility to convert and fetch GPS related data LICENSE= gnu-gpl-v2 -USE_LANGUAGES= c c++ +USE_LANGUAGES= c c++11 +USE_TOOLS= gmake TEST_TARGET= check +# \todo Upstream recommends trying qmake. +GNU_CONFIGURE= yes + +CONFIGURE_ENV+= QMAKE=${QTDIR}/bin/qmake +CONFIGURE_ENV+= LUPDATE=${QTDIR}/bin/lupdate +CONFIGURE_ENV+= LRELEASE=${QTDIR}/bin/lrelease + +# \todo This seems like a bug; explain why. LIBS.Darwin+= -lexpat -GNU_CONFIGURE= yes +# \todo Figure out stdarg warnings for code that looks correct. +# util.cc: In function 'int xasprintf(char**, const char*, ...)': +# util.cc:233:22: warning: second parameter of 'va_start' not last named argument [-Wvarargs] +# va_start(args, fmt); +# ^ .include "../../mk/libusb.buildlink3.mk" .include "../../textproc/expat/buildlink3.mk" -.include "../../x11/qt4-libs/buildlink3.mk" -.include "../../x11/qt4-tools/buildlink3.mk" +.include "../../x11/qt5-qtbase/buildlink3.mk" +.include "../../x11/qt5-qttools/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |