git: 04c9b0ef4f45 - main - comms/flrig: No hid support on FreeBSD 12

From: Diane Bruce <db_at_FreeBSD.org>
Date: Wed, 25 Oct 2023 22:34:49 UTC
The branch main has been updated by db:

URL: https://cgit.FreeBSD.org/ports/commit/?id=04c9b0ef4f45f8c38eb3b33f199157c7ddc6dba9

commit 04c9b0ef4f45f8c38eb3b33f199157c7ddc6dba9
Author:     Diane Bruce <db@FreeBSD.org>
AuthorDate: 2023-10-25 22:32:40 +0000
Commit:     Diane Bruce <db@FreeBSD.org>
CommitDate: 2023-10-25 22:32:40 +0000

    comms/flrig: No hid support on FreeBSD 12
    
    Can't build on FreeBSD 12 due to no hid support.
---
 comms/flrig/Makefile | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/comms/flrig/Makefile b/comms/flrig/Makefile
index 86103810d550..a18daee579f5 100644
--- a/comms/flrig/Makefile
+++ b/comms/flrig/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	flrig
 PORTVERSION=	2.0.04
+PORTREVISION=	1
 CATEGORIES=	comms hamradio
 MASTER_SITES=	SF/fldigi/${PORTNAME} \
 		http://www.w1hkj.com/files/fldigi/
@@ -8,20 +9,23 @@ MAINTAINER=	hamradio@FreeBSD.org
 COMMENT=	Ham Radio rig control program, cooperates with fldigi
 WWW=		http://www.w1hkj.com/flrig-help/index.html
 
+IGNORE_FreeBSD_12=	no hid support
+
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	libpng.so:graphics/png \
+LIB_DEPENDS=	libfltk.so:x11-toolkits/fltk \
 		libfontconfig.so:x11-fonts/fontconfig \
-		libfltk.so:x11-toolkits/fltk \
+		libpng.so:graphics/png \
 		libudev.so:devel/libudev-devd
 
-USES=		gmake jpeg xorg desktop-file-utils
-USE_XORG=	x11 xrender xcursor xfixes xext xft xinerama
+USES=		desktop-file-utils gmake jpeg xorg
+USE_XORG=	x11 xcursor xext xfixes xft xinerama xrender
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	FLTK_CONFIG="${LOCALBASE}/bin/fltk-config"
-PLIST_FILES=	bin/flrig share/applications/flrig.desktop \
-		 share/pixmaps/flrig.xpm
+PLIST_FILES=	bin/flrig \
+		share/applications/flrig.desktop \
+		share/pixmaps/flrig.xpm
 OPTIONS_DEFINE=	NATIVE
 
 NATIVE_CONFIGURE_ON+=	--enable-optimizations=native