Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Feb 2019 08:48:06 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r493252 - head/comms/libticables2
Message-ID:  <201902180848.x1I8m6bp051161@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Mon Feb 18 08:48:06 2019
New Revision: 493252
URL: https://svnweb.freebsd.org/changeset/ports/493252

Log:
  libticables2 defaults serial port names to cuadX, but current FreeBSD
  versions name serial ports cuauX, fix this.  While here, consistently
  prepend sed(1) commands with `-e' switch like we normally do in ports.
  
  PR:		235827
  Submitted by:	Darren Mulligan

Modified:
  head/comms/libticables2/Makefile

Modified: head/comms/libticables2/Makefile
==============================================================================
--- head/comms/libticables2/Makefile	Mon Feb 18 08:41:13 2019	(r493251)
+++ head/comms/libticables2/Makefile	Mon Feb 18 08:48:06 2019	(r493252)
@@ -2,6 +2,7 @@
 
 PORTNAME=	libticables2
 PORTVERSION=	1.3.5
+PORTREVISION=	1
 CATEGORIES=	comms
 MASTER_SITES=	SF/tilp/tilp2-linux/tilp2-1.18
 
@@ -23,7 +24,9 @@ NLS_USES=	gettext-runtime
 NLS_CONFIGURE_ENABLE=	nls
 
 post-patch:
-	@${REINPLACE_CMD} 's/libusb >= 0\.1\.[0-9]*/libusb-0.1/' \
+	@${REINPLACE_CMD} -e 's/libusb >= 0\.1\.[0-9]*/libusb-0.1/' \
 		${WRKSRC}/configure.ac
+	@${REINPLACE_CMD} -e 's/cuad/cuau/' \
+		${WRKSRC}/src/linux/link_ser.c ${WRKSRC}/src/linux/link_gry.c
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902180848.x1I8m6bp051161>