From amdmi3@amdmi3.ru  Thu Nov 26 21:28:03 2009
Return-Path: <amdmi3@amdmi3.ru>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C66CD106566C
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 26 Nov 2009 21:28:03 +0000 (UTC)
	(envelope-from amdmi3@amdmi3.ru)
Received: from smtp.timeweb.ru (smtp.timeweb.ru [92.53.113.20])
	by mx1.freebsd.org (Postfix) with ESMTP id 83ACF8FC0A
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 26 Nov 2009 21:28:03 +0000 (UTC)
Received: from [213.148.20.85] (helo=hive.panopticon)
	by smtp.timeweb.ru with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.69)
	(envelope-from <amdmi3@amdmi3.ru>)
	id 1NDlrd-0004mU-Jh; Fri, 27 Nov 2009 00:26:57 +0300
Received: from hades.panopticon (hades.panopticon [192.168.0.32])
	by hive.panopticon (Postfix) with ESMTP id 45A5FB84D;
	Fri, 27 Nov 2009 00:28:01 +0300 (MSK)
Received: by hades.panopticon (Postfix, from userid 1000)
	id 2E81AB849; Fri, 27 Nov 2009 00:28:01 +0300 (MSK)
Message-Id: <20091126212801.2E81AB849@hades.panopticon>
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: [PATCH] comms/garmin-utils: use correct serial device on 8.x
X-Send-Pr-Version: 3.113
X-GNATS-Notify: mab@red-bean.com

>Number:         140912
>Category:       ports
>Synopsis:       [PATCH] comms/garmin-utils: use correct serial device on 8.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    amdmi3
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 26 21:30:04 UTC 2009
>Closed-Date:    Fri Dec 18 01:38:29 UTC 2009
>Last-Modified:  Fri Dec 18 01:40:02 UTC 2009
>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:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Nov 26 21:30:19 UTC 2009 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=140912 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: mab@red-bean.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/140912: [PATCH] comms/garmin-utils: use correct serial device on 8.x
Date: Thu, 26 Nov 2009 21:30:17 UT

 Maintainer of comms/garmin-utils,
 
 Please note that PR ports/140912 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/140912
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
Responsible-Changed-From-To: freebsd-ports-bugs->amdmi3 
Responsible-Changed-By: amdmi3 
Responsible-Changed-When: Sat Nov 28 03:00:33 UTC 2009 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=140912 
State-Changed-From-To: feedback->open 
State-Changed-By: amdmi3 
State-Changed-When: Fri Dec 18 01:37:12 UTC 2009 
State-Changed-Why:  
Maintainer timeout 

http://www.freebsd.org/cgi/query-pr.cgi?pr=140912 
State-Changed-From-To: open->closed 
State-Changed-By: amdmi3 
State-Changed-When: Fri Dec 18 01:38:28 UTC 2009 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=140912 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/140912: commit references a PR
Date: Fri, 18 Dec 2009 01:38:38 +0000 (UTC)

 amdmi3      2009-12-18 01:38:25 UTC
 
   FreeBSD ports repository
 
   Modified files:
     comms/garmin-utils   Makefile 
   Log:
   - Use correct serial device on FreeBSD >8.x
   - While here, mark MAKE_JOBS_SAFE
   
   PR:             140912
   Submitted by:   myself
   Approved by:    maintainer timeout
   
   Revision  Changes    Path
   1.9       +11 -2     ports/comms/garmin-utils/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
