mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Update to upstream release 1.5.2
- Properly strip installed binary PR: 197879 Submitted by: dev2@heesakkers.info Reviewed by: riggs
This commit is contained in:
parent
b49f4ccb88
commit
373540144f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=381306
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= gpsbabel
|
||||
PORTVERSION= 1.5.1
|
||||
PORTVERSION= 1.5.2
|
||||
CATEGORIES= astro geography
|
||||
MASTER_SITES= https://secure.ohos.nl/downloads/ \
|
||||
LOCAL/glebius
|
||||
@ -26,4 +26,7 @@ PLIST_FILES= bin/gpsbabel
|
||||
|
||||
CONFLICTS= gpsbabel14-[0-9]*
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gpsbabel
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (gpsbabel-1.5.1.tar.gz) = 3feec7d43ca6cb5393645fe0df893d9f7bf5334849fa8abd4c5c3ee775c8cac3
|
||||
SIZE (gpsbabel-1.5.1.tar.gz) = 8402088
|
||||
SHA256 (gpsbabel-1.5.2.tar.gz) = c1a2f07d014d69dcce80e2ef8f23fe2fe3154324957b04d488da1b32458fad7b
|
||||
SIZE (gpsbabel-1.5.2.tar.gz) = 8392465
|
||||
|
12
astro/gpsbabel/files/patch-jeeps-gpslibusb.cc
Normal file
12
astro/gpsbabel/files/patch-jeeps-gpslibusb.cc
Normal file
@ -0,0 +1,12 @@
|
||||
--- jeeps/gpslibusb.cc.orig 2014-09-16 05:49:59.000000000 +0200
|
||||
+++ jeeps/gpslibusb.cc 2015-03-14 19:33:11.690407708 +0100
|
||||
@@ -20,7 +20,8 @@
|
||||
*/
|
||||
|
||||
|
||||
-#include <stdio.h>
|
||||
+#include <cstdio>
|
||||
+#include <cstdlib>
|
||||
#include <ctype.h>
|
||||
#if HAVE_CONFIG_H
|
||||
#include "config.h"
|
@ -1,31 +0,0 @@
|
||||
--- configure.in.orig 2008-10-31 15:43:21.000000000 +0300
|
||||
+++ configure.in 2009-03-07 01:08:46.000000000 +0300
|
||||
@@ -170,6 +169,28 @@
|
||||
AC_DEFINE(HAVE_LIBUSB, 1)
|
||||
CFLAGS="$CFLAGS -Imac/libusb/"
|
||||
;;
|
||||
+ *-*-freebsd*)
|
||||
+ GBSER=gbser_posix.o
|
||||
+ AC_MSG_CHECKING(for libusb)
|
||||
+ if test "$with_libusb" = no ; then
|
||||
+ AC_MSG_RESULT(check not done)
|
||||
+ OSJEEPS=jeeps/gpsusbstub.o
|
||||
+ else
|
||||
+ OLDFLAGS=$LDFLAGS
|
||||
+ OCFLAGS=$CFLAGS
|
||||
+ LDFLAGS="$LDFLAGS -lusb"
|
||||
+ CFLAGS="$OCFLAGS"
|
||||
+
|
||||
+ AC_CHECK_LIB([usb], [usb_interrupt_read],
|
||||
+ AC_DEFINE(HAVE_LIBUSB, 1, [Defined if you have libusb])
|
||||
+ [USB_CFLAGS=""]
|
||||
+ [USB_LIBS="-lusb"]
|
||||
+# ,[AC_MSG_ERROR([libusb is needed])]
|
||||
+ )
|
||||
+ OSJEEPS=jeeps/gpslibusb.o
|
||||
+ CFLAGS="$OCFLAGS"
|
||||
+ fi
|
||||
+ ;;
|
||||
*)
|
||||
GBSER=gbser_posix.o
|
||||
AC_MSG_CHECKING(for libusb)
|
@ -1,21 +0,0 @@
|
||||
--- ./mkstyle.sh.orig 2013-09-01 16:29:29.000000000 +0200
|
||||
+++ ./mkstyle.sh 2014-06-10 13:47:27.000000000 +0200
|
||||
@@ -9,17 +9,7 @@
|
||||
LC_COLLATE=C
|
||||
export LC_COLLATE
|
||||
|
||||
-# require gnu sed even though we aren't using gnu extensions.
|
||||
-# this avoids portability issues with other seds.
|
||||
-if gsed v /dev/null 1>/dev/null 2>&1; then
|
||||
- SED=gsed
|
||||
-elif sed v /dev/null 1>/dev/null 2>&1; then
|
||||
- # sed is gnu sed
|
||||
- SED=sed
|
||||
-else
|
||||
- echo "Error: can't find gnu sed" 1>&2
|
||||
- exit 1
|
||||
-fi
|
||||
+SED=sed
|
||||
|
||||
echo "#include \"defs.h\""
|
||||
echo "#if CSVFMTS_ENABLED"
|
Loading…
Reference in New Issue
Block a user