Index: head/astro/gpsbabel/Makefile =================================================================== --- head/astro/gpsbabel/Makefile +++ head/astro/gpsbabel/Makefile @@ -2,11 +2,9 @@ # $FreeBSD$ PORTNAME= gpsbabel -PORTVERSION= 1.5.2 -PORTREVISION= 1 +DISTVERSIONPREFIX= ${PORTNAME}_ +DISTVERSION= 1_5_3 CATEGORIES= astro geography -MASTER_SITES= https://secure.ohos.nl/downloads/ \ - LOCAL/glebius MAINTAINER= dev2@heesakkers.info COMMENT= GPS file translating tool @@ -14,11 +12,17 @@ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING +# Unbundle libminizip +LIB_DEPENDS= libminizip.so:archivers/minizip + +USE_GITHUB= yes + CONFLICTS= gpsbabel14-[0-9]* USE_QT4= corelib qmake_build GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-zlib=system +USES= localbase OPTIONS_DEFINE= GUI OPTIONS_SUB= GUI @@ -32,6 +36,7 @@ @${REINPLACE_CMD} '/langPath_ = / \ s|QApplication::applicationDirPath()|"${DATADIR}"|' \ ${WRKSRC}/gui/mainwindow.cc + @${RM} -rf ${WRKSRC}/zlib/contrib/minizip do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gpsbabel ${STAGEDIR}${PREFIX}/bin/ Index: head/astro/gpsbabel/distinfo =================================================================== --- head/astro/gpsbabel/distinfo +++ head/astro/gpsbabel/distinfo @@ -1,2 +1,2 @@ -SHA256 (gpsbabel-1.5.2.tar.gz) = c1a2f07d014d69dcce80e2ef8f23fe2fe3154324957b04d488da1b32458fad7b -SIZE (gpsbabel-1.5.2.tar.gz) = 8392465 +SHA256 (gpsbabel-gpsbabel-gpsbabel_1_5_3_GH0.tar.gz) = 10b7aaca44ce557fa1175fec37297b8df55611ab2c51cb199753a22dbf2d3997 +SIZE (gpsbabel-gpsbabel-gpsbabel_1_5_3_GH0.tar.gz) = 8516277 Index: head/astro/gpsbabel/files/patch-Makefile.in =================================================================== --- head/astro/gpsbabel/files/patch-Makefile.in +++ head/astro/gpsbabel/files/patch-Makefile.in @@ -0,0 +1,15 @@ +--- Makefile.in.orig ++++ Makefile.in +@@ -148,10 +148,10 @@ toolinfo + all: gpsbabel$(EXEEXT) + + gpsbabel$(EXEEXT): configure Makefile $(OBJS) @GPSBABEL_DEBUG@ +- $(CXX) $(CXXFLAGS) $(LDFLAGS) $(OBJS) @LIBS@ $(QT_LIBS) @USB_LIBS@ $(OUTPUT_SWITCH)$@ ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(OBJS) -lminizip @LIBS@ $(QT_LIBS) @USB_LIBS@ $(OUTPUT_SWITCH)$@ + + gpsbabel-debug: $(OBJS) +- $(CXX) $(CXXFLAGS) $(LDFLAGS) $(OBJS) @LIBS@ @EFENCE_LIB@ $(QT_LIBS) @USB_LIBS@ $(OUTPUT_SWITCH)$@ ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(OBJS) -lminizip @LIBS@ @EFENCE_LIB@ $(QT_LIBS) @USB_LIBS@ $(OUTPUT_SWITCH)$@ + + Makefile gbversion.h: Makefile.in config.status xmldoc/makedoc.in \ + gbversion.h.in gui/setup.iss.in Index: head/astro/gpsbabel/files/patch-jeeps-gpslibusb.cc =================================================================== --- head/astro/gpsbabel/files/patch-jeeps-gpslibusb.cc +++ head/astro/gpsbabel/files/patch-jeeps-gpslibusb.cc @@ -1,10 +1,11 @@ ---- jeeps/gpslibusb.cc.orig 2014-09-16 03:49:59 UTC +--- jeeps/gpslibusb.cc.orig +++ jeeps/gpslibusb.cc -@@ -20,7 +20,8 @@ +@@ -20,8 +20,8 @@ */ -#include +-#include +#include +#include #include Index: head/astro/gpsbabel/files/patch-src-core-ziparchive.h =================================================================== --- head/astro/gpsbabel/files/patch-src-core-ziparchive.h +++ head/astro/gpsbabel/files/patch-src-core-ziparchive.h @@ -0,0 +1,11 @@ +--- src/core/ziparchive.h.orig ++++ src/core/ziparchive.h +@@ -21,7 +21,7 @@ + + #include + #include +-#include "zlib/contrib/minizip/zip.h" ++#include + + class ZipArchive + { Index: head/astro/gpsbabel/files/patch-src-core-ziparchive.cc =================================================================== --- head/astro/gpsbabel/files/patch-src-core-ziparchive.cc +++ head/astro/gpsbabel/files/patch-src-core-ziparchive.cc @@ -0,0 +1,11 @@ +--- src/core/ziparchive.cc.orig ++++ src/core/ziparchive.cc +@@ -23,7 +23,7 @@ + + #include "defs.h" + #include "src/core/logging.h" +-#include "zlib/contrib/minizip/zip.h" ++#include + + #include + #include