aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2019-02-18 16:48:06 +0800
committerdanfe <danfe@FreeBSD.org>2019-02-18 16:48:06 +0800
commitf2b1e383d1221300bb0d0c296de0891f54543336 (patch)
treed422423194293628e094092e4492b767e854d028
parentbd23ddfc294c041aadb4622ed54d3cd8f9204973 (diff)
downloadfreebsd-ports-gnome-f2b1e383d1221300bb0d0c296de0891f54543336.tar.gz
freebsd-ports-gnome-f2b1e383d1221300bb0d0c296de0891f54543336.tar.zst
freebsd-ports-gnome-f2b1e383d1221300bb0d0c296de0891f54543336.zip
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
-rw-r--r--comms/libticables2/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/comms/libticables2/Makefile b/comms/libticables2/Makefile
index bfb732dde4bb..45966ca09026 100644
--- a/comms/libticables2/Makefile
+++ b/comms/libticables2/Makefile
@@ -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>