svn commit: r556853 - head/devel/urjtag
Yuri Victorovich
yuri at FreeBSD.org
Wed Dec 2 21:05:56 UTC 2020
Author: yuri
Date: Wed Dec 2 21:05:55 2020
New Revision: 556853
URL: https://svnweb.freebsd.org/changeset/ports/556853
Log:
devel/urjtag: Add the NOASYNC option to possibly work around bugs like bug#251533
PR: 251533
Reported by: Torfinn Ingolfsen <tingox+freebsd at gmail.com>
Modified:
head/devel/urjtag/Makefile
Modified: head/devel/urjtag/Makefile
==============================================================================
--- head/devel/urjtag/Makefile Wed Dec 2 21:01:59 2020 (r556852)
+++ head/devel/urjtag/Makefile Wed Dec 2 21:05:55 2020 (r556853)
@@ -3,7 +3,7 @@
PORTNAME= urjtag
DISTVERSION= 2019.12
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= SF
@@ -23,7 +23,7 @@ CONFIGURE_ARGS= --enable-stapl
INSTALL_TARGET= install-strip
-OPTIONS_DEFINE= FTDI JEDEC NLS PYTHON USB
+OPTIONS_DEFINE= FTDI JEDEC NOASYNC NLS PYTHON USB
OPTIONS_DEFAULT= FTDI USB
OPTIONS_SUB= yes
@@ -34,6 +34,8 @@ FTDI_CONFIGURE_WITH= libftdi
JEDEC_DESC= Experimental JEDEC flash detection
JEDEC_CONFIGURE_ENABLE= jedec-exp
+NOASYNC_DESC= Disable the libftdi async mode # possible workaround for bugs like bug#251533
+
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
@@ -43,5 +45,8 @@ PYTHON_BROKEN= ld: error: unable to find library -l-
USB_DESC= USB JTAG adapters support
#USB_CONFIGURE_ON= --with-libusb=/usr # causes libusb to not be recognized: https://sourceforge.net/p/urjtag/bugs/133/
USB_CONFIGURE_OFF= --without-libusb
+
+post-patch-NOASYNC-on:
+ @${REINPLACE_CMD} -e 's|"ftdi_read_data_submit"|"ftdi_read_data_submitx"|' ${WRKSRC}/configure
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list