From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Nov 26 21:30:06 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6635B1065694 for ; Thu, 26 Nov 2009 21:30:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2396D8FC20 for ; Thu, 26 Nov 2009 21:30:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nAQLU6xJ008427 for ; Thu, 26 Nov 2009 21:30:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nAQLU5wZ008424; Thu, 26 Nov 2009 21:30:05 GMT (envelope-from gnats) Resent-Date: Thu, 26 Nov 2009 21:30:05 GMT Resent-Message-Id: <200911262130.nAQLU5wZ008424@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Marakasov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F13CB1065679 for ; 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 AD3AD8FC0C for ; 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 ) id 1NDlre-0004mZ-Q9; Fri, 27 Nov 2009 00:26:58 +0300 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 820BEB84E; Fri, 27 Nov 2009 00:28:02 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 7DE92B84B; Fri, 27 Nov 2009 00:28:02 +0300 (MSK) Message-Id: <20091126212802.7DE92B84B@hades.panopticon> Date: Fri, 27 Nov 2009 00:28:02 +0300 (MSK) From: Dmitry Marakasov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: anders@FreeBSD.org Subject: ports/140913: [PATCH] comms/minicom: use correct serial device on 8.x X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Nov 2009 21:30:06 -0000 >Number: 140913 >Category: ports >Synopsis: [PATCH] comms/minicom: 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:05 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 (anders@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- minicom-2.3_2.patch begins here --- Index: Makefile =================================================================== RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/comms/minicom/Makefile,v retrieving revision 1.50 diff -u -u -r1.50 Makefile --- Makefile 5 Jan 2009 17:27:26 -0000 1.50 +++ Makefile 26 Nov 2009 21:08:00 -0000 @@ -8,7 +8,7 @@ PORTNAME= minicom PORTVERSION= 2.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= comms MASTER_SITES= http://alioth.debian.org/frs/download.php/2332/ \ ftp://ftp.nuug.no/pub/anders/distfiles/ \ @@ -35,11 +35,18 @@ --sysconfdir=${PREFIX}/etc/minicom \ --enable-lock-dir=/var/spool/lock -MINICOM_DEFAULT_PORT?= /dev/cuad0 CONFIGURE_ARGS+= --enable-dfl-port=${MINICOM_DEFAULT_PORT} MAN1= minicom.1 runscript.1 ascii-xfr.1 xminicom.1 +.include + +.if ${OSVERSION} < 800045 +MINICOM_DEFAULT_PORT?= /dev/cuad0 +.else +MINICOM_DEFAULT_PORT?= /dev/cuau0 +.endif + post-patch: ${REINPLACE_CMD} -e "s@/usr/local/bin/@${LOCALBASE}/bin/@; \ s@/sz@/lsz@;s@/sb@/lsb@;s@/sx@/lsx@;s@/rz@/lrz@; \ @@ -65,4 +72,4 @@ ${DOCSDIR}) .endif -.include +.include --- minicom-2.3_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: