aboutsummaryrefslogtreecommitdiffstats
path: root/comms/garmin-utils
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2009-12-18 09:38:25 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2009-12-18 09:38:25 +0800
commit3fe6308883c5d01ab1f4ece9b4def8eb1f80e267 (patch)
tree6383a748e0c18195310bba680c7186d67c2ded50 /comms/garmin-utils
parentc8a26a0c4f5e0098c234977b1d19eb785aa55a4c (diff)
downloadfreebsd-ports-gnome-3fe6308883c5d01ab1f4ece9b4def8eb1f80e267.tar.gz
freebsd-ports-gnome-3fe6308883c5d01ab1f4ece9b4def8eb1f80e267.tar.zst
freebsd-ports-gnome-3fe6308883c5d01ab1f4ece9b4def8eb1f80e267.zip
- Use correct serial device on FreeBSD >8.x
- While here, mark MAKE_JOBS_SAFE PR: 140912 Submitted by: myself Approved by: maintainer timeout
Diffstat (limited to 'comms/garmin-utils')
-rw-r--r--comms/garmin-utils/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/comms/garmin-utils/Makefile b/comms/garmin-utils/Makefile
index e5c8a1cf7a0a..7f5fee69fba0 100644
--- a/comms/garmin-utils/Makefile
+++ b/comms/garmin-utils/Makefile
@@ -7,6 +7,7 @@
PORTNAME= garmin-utils
PORTVERSION= 2.5
+PORTREVISION= 1
CATEGORIES= comms geography
MASTER_SITES= ftp://ftp.snafu.org/pub/
@@ -16,8 +17,16 @@ COMMENT= Utilities for Garmin GPS receivers
MAN1= gardump.1 garload.1
MANCOMPRESSED= yes
MAKE_ARGS+= MANDIR=${MANPREFIX}/man/man
-MAKE_ARGS+= GPS_SERIAL_PORT=/dev/cuad0
+MAKE_JOBS_SAFE= yes
PLIST_FILES= bin/gardump bin/garload
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 800045
+MAKE_ARGS+= GPS_SERIAL_PORT=/dev/cuad0
+.else
+MAKE_ARGS+= GPS_SERIAL_PORT=/dev/cuau0
+.endif
+
+.include <bsd.port.post.mk>