git: 08bc1b7eda54 - main - devel/gdb: fix handling of SOURCE_HIGHLIGHT port option

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Mon, 14 Nov 2022 15:16:42 UTC
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=08bc1b7eda54274ee3c44ebbf28d21a6e1424296

commit 08bc1b7eda54274ee3c44ebbf28d21a6e1424296
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2022-11-14 15:14:58 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2022-11-14 15:14:58 +0000

    devel/gdb: fix handling of SOURCE_HIGHLIGHT port option
    
    - It is of --enable/disable type, not --with/without one
    - Garbage-collect no longer useful NOT_FOR_ARCHS (we had
      not been building sparc64 packages for many years now)
---
 devel/gdb/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/devel/gdb/Makefile b/devel/gdb/Makefile
index 940947366000..f0e75d39eed5 100644
--- a/devel/gdb/Makefile
+++ b/devel/gdb/Makefile
@@ -11,9 +11,6 @@ WWW=		https://www.gnu.org/software/gdb/
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING3
 
-# untested on sparc64, might work
-NOT_FOR_ARCHS=	sparc64
-
 LIB_DEPENDS=	libgmp.so:math/gmp \
 		libmpfr.so:math/mpfr
 TEST_DEPENDS=	runtest:misc/dejagnu
@@ -105,7 +102,7 @@ PORT_ICONV_USES=	iconv:wchar_t
 PYTHON_CONFIGURE_ON=	--with-python=${PYTHON_CMD}
 PYTHON_CONFIGURE_OFF=	--without-python
 PYTHON_USES=		python:3.6+
-SOURCE_HIGHLIGHT_WITH=	source-highlight
+SOURCE_HIGHLIGHT_CONFIGURE_ENABLE=	source-highlight
 SOURCE_HIGHLIGHT_LIB_DEPENDS=	\
 	libsource-highlight.so:textproc/source-highlight
 SYSTEM_ICONV_USES=	iconv