git: 02904e20f965 - main - devel/avrdude: Upgrade to v7.1

From: Joerg Wunsch <joerg_at_FreeBSD.org>
Date: Mon, 09 Jan 2023 21:36:38 UTC
The branch main has been updated by joerg:

URL: https://cgit.FreeBSD.org/ports/commit/?id=02904e20f965356dc412cc9708056e704779d6c3

commit 02904e20f965356dc412cc9708056e704779d6c3
Author:     Joerg Wunsch <joerg@FreeBSD.org>
AuthorDate: 2023-01-09 21:35:17 +0000
Commit:     Joerg Wunsch <joerg@FreeBSD.org>
CommitDate: 2023-01-09 21:36:33 +0000

    devel/avrdude: Upgrade to v7.1
    
    This upgrades AVRDUDE to the new release 7.1.
    
    The previous FreeBSD-local patch is obsoleted by that revision.
    
    Fix the CMake argument handling for enabling the parport feature.
---
 devel/avrdude/Makefile                   |  7 +++----
 devel/avrdude/distinfo                   |  6 +++---
 devel/avrdude/files/patch-src_jtagmkII.c | 13 -------------
 3 files changed, 6 insertions(+), 20 deletions(-)

diff --git a/devel/avrdude/Makefile b/devel/avrdude/Makefile
index 7e6ea7d47325..d98caaa46aee 100644
--- a/devel/avrdude/Makefile
+++ b/devel/avrdude/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	avrdude
-PORTVERSION=	7.0
-PORTREVISION=	3
+PORTVERSION=	7.1
+#PORTREVISION=	0
 CATEGORIES=	devel
 
 MAINTAINER=	joerg@FreeBSD.org
@@ -10,7 +10,6 @@ WWW=		https://www.nongnu.org/avrdude/
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-GNU_CONFIGURE=	yes
 USES=		libtool localbase readline cmake
 USE_GITHUB=	yes
 GH_ACCOUNT=	avrdudes
@@ -22,7 +21,7 @@ OPTIONS_DEFAULT=	FTDI
 FTDI_DESC=		libftdi support
 FTDI_LIB_DEPENDS=	libftdi1.so:devel/libftdi1
 PARPORT_DESC=		support for parallel-port programmers
-PARPORT_CONFIGURE_ENABLE= parport
+PARPORT_CMAKE_ON=	-DHAVE_PARPORT=1
 
 # man page currently not handled by CMake
 # https://github.com/avrdudes/avrdude/issues/947
diff --git a/devel/avrdude/distinfo b/devel/avrdude/distinfo
index 87de5cb3a4c7..d6c99c0a5e41 100644
--- a/devel/avrdude/distinfo
+++ b/devel/avrdude/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1652012102
-SHA256 (avrdudes-avrdude-7.0-v7.0_GH0.tar.gz) = 5de0f7f51c3ebffcd2bfecd6a0544bd468c55400e09f7d7533a1cd67ddc63a95
-SIZE (avrdudes-avrdude-7.0-v7.0_GH0.tar.gz) = 2354082
+TIMESTAMP = 1673299439
+SHA256 (avrdudes-avrdude-7.1-v7.1_GH0.tar.gz) = 016a5c95746fadc169cfb3009f6aa306ccdea2ff279fdb6fddcbe7526d84e5eb
+SIZE (avrdudes-avrdude-7.1-v7.1_GH0.tar.gz) = 2496230
diff --git a/devel/avrdude/files/patch-src_jtagmkII.c b/devel/avrdude/files/patch-src_jtagmkII.c
deleted file mode 100644
index 17ca7c9a968e..000000000000
--- a/devel/avrdude/files/patch-src_jtagmkII.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/jtagmkII.c.orig	2022-05-07 20:39:47 UTC
-+++ src/jtagmkII.c
-@@ -1840,8 +1840,8 @@ void jtagmkII_close(PROGRAMMER * pgm)
- 
-   avrdude_message(MSG_NOTICE2, "%s: jtagmkII_close()\n", progname);
- 
--  if (pgm->flag & PGM_FL_IS_PDI) {
--    /* When in PDI mode, restart target. */
-+  if (pgm->flag & (PGM_FL_IS_PDI|PGM_FL_IS_JTAG)) {
-+    /* When in PDI or JTAG mode, restart target. */
-     buf[0] = CMND_GO;
-     avrdude_message(MSG_NOTICE2, "%s: jtagmkII_close(): Sending GO command: ",
- 	      progname);