git: 8b39dd49849e - main - sysutils/lcdproc: remove HID option

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Tue, 16 Nov 2021 08:03:53 UTC
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8b39dd49849e88c52e633d2181fc405839b9b525

commit 8b39dd49849e88c52e633d2181fc405839b9b525
Author:     Fernando Apesteguía <fernape@FreeBSD.org>
AuthorDate: 2021-11-16 07:10:01 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2021-11-16 08:02:50 +0000

    sysutils/lcdproc: remove HID option
    
    HID option relied on devel/libhid which was removed.
    
    PR:     259774
    Reported by:    ohartmann@walstatt.org
    Approved by:    daniel@shafer.cc (maintainer)
---
 sysutils/lcdproc/Makefile | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)

diff --git a/sysutils/lcdproc/Makefile b/sysutils/lcdproc/Makefile
index 2844e17acf75..7cb9ad0f6d35 100644
--- a/sysutils/lcdproc/Makefile
+++ b/sysutils/lcdproc/Makefile
@@ -20,16 +20,18 @@ USE_GITHUB=	yes
 
 CONFIGURE_ARGS=	--enable-drivers="${LCDPROC_DRIVERS}" \
 		--disable-dependency-tracking \
+		--disable-libhid \
 		--disable-libusb-1-0 \
 		--disable-doxygen
 
+PLIST_SUB+=	HID="@comment "
+
 SUB_FILES=	pkg-message
 
 # Options
-OPTIONS_DEFINE=	USB FTDI HID FREETYPE PNG SERDISP X11
+OPTIONS_DEFINE=	USB FTDI FREETYPE PNG SERDISP X11
 USB_DESC=	USB support
 FTDI_DESC=	Build drivers using libftdi (requires USB)
-HID_DESC=	Build drivers using libhid (requires USB)
 SERDISP_DESC=	Build drivers using serdisplib
 
 OPTIONS_DEFAULT=USB FREETYPE
@@ -114,15 +116,6 @@ CONFIGURE_ARGS+=	--disable-libftdi
 PLIST_SUB+=		FTDI="@comment "
 . endif
 
-. if ${PORT_OPTIONS:MHID}
-LIB_DEPENDS+=		libhid.so:devel/libhid
-PLIST_SUB+=		HID=""
-LCDPROC_DRIVERS+=mdm166a
-. else
-CONFIGURE_ARGS+=	--disable-libhid
-PLIST_SUB+=		HID="@comment "
-. endif
-
 .else
 CONFIGURE_ARGS+=	--disable-libusb --disable-libftdi --disable-libhid
 PLIST_SUB+=		USB="@comment " FTDI="@comment " HID="@comment "