1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

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
This commit is contained in:
Alexey Dokuchaev 2019-02-18 08:48:06 +00:00
parent 01ed87c40a
commit 9eb5d56918
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=493252

View File

@ -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>