Date: Fri, 27 Nov 2009 00:28:01 +0300 (MSK) From: Dmitry Marakasov <amdmi3@amdmi3.ru> To: FreeBSD-gnats-submit@FreeBSD.org Cc: mab@red-bean.com Subject: ports/140912: [PATCH] comms/garmin-utils: use correct serial device on 8.x Message-ID: <20091126212801.2E81AB849@hades.panopticon> Resent-Message-ID: <200911262130.nAQLU5SF008383@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 140912 >Category: ports >Synopsis: [PATCH] comms/garmin-utils: use correct serial device on 8.x >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Nov 26 21:30:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Dmitry Marakasov >Release: FreeBSD 8.0-RELEASE i386 >Organization: >Environment: System: FreeBSD hades.panopticon 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Tue Nov 24 22:31:59 MSK 2009 >Description: In FreeBSD 8.x, serial device names were changed from {tty,cua}d[0-9]+ to {tty,cua}u[0-9]+, so add conditional to support this. Port maintainer (mab@red-bean.com) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- garmin-utils-2.5_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/comms/garmin-utils/Makefile,v retrieving revision 1.8 diff -u -u -r1.8 Makefile --- Makefile 5 Jan 2009 17:27:25 -0000 1.8 +++ Makefile 26 Nov 2009 20:51:42 -0000 @@ -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,15 @@ MAN1= gardump.1 garload.1 MANCOMPRESSED= yes MAKE_ARGS+= MANDIR=${MANPREFIX}/man/man -MAKE_ARGS+= GPS_SERIAL_PORT=/dev/cuad0 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> --- garmin-utils-2.5_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091126212801.2E81AB849>