From 70a4cf7a34250fb5980a1888bb89e8f820591ba2 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Fri, 15 Jan 2010 23:09:31 +0000 Subject: - Use correct default serial device on 8.x PR: 140913 Submitted by: myself Approved by: maintainer timeout --- comms/minicom/Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'comms') diff --git a/comms/minicom/Makefile b/comms/minicom/Makefile index 3f6cb9175fc8..6aa32b768f66 100644 --- a/comms/minicom/Makefile +++ b/comms/minicom/Makefile @@ -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 @@ CONFIGURE_ARGS+= --enable-dfl-baud=57600 \ --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 @@ post-install: ${DOCSDIR}) .endif -.include +.include -- cgit v1.2.3