git: e51df85759de - main - irc/irssi-dcc_send_limiter: Mark DEPRECATED

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 29 Oct 2023 22:57:26 UTC
The branch main has been updated by bofh:

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

commit e51df85759decc8b3e0c3aa70944203ad00579e5
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-10-29 14:45:39 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-10-29 22:53:35 +0000

    irc/irssi-dcc_send_limiter: Mark DEPRECATED
    
    - BROKEN for more than a year
    - Set EXPIRATION_DATE 2023-11-30
---
 irc/irssi-dcc_send_limiter/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/irc/irssi-dcc_send_limiter/Makefile b/irc/irssi-dcc_send_limiter/Makefile
index a1a52b56e91e..116d085a2a8c 100644
--- a/irc/irssi-dcc_send_limiter/Makefile
+++ b/irc/irssi-dcc_send_limiter/Makefile
@@ -16,6 +16,8 @@ COMMENT=	Irssi plugin to limit the transmit speed of DCC sends
 
 LICENSE=	GPLv2+
 
+DEPRECATED=	BROKEN for more than a year
+EXPIRATION_DATE=	2023-11-30
 BROKEN=		does not build: error: use of undeclared identifier 'G_INPUT_WRITE'
 
 BUILD_DEPENDS=	irssi:irc/irssi
@@ -23,12 +25,13 @@ RUN_DEPENDS=	irssi:irc/irssi
 
 USES=		gnome pkgconfig
 USE_GNOME=	glib20
+
+CFLAGS+=	-shared -fPIC -I${LOCALBASE}/include/irssi -I${LOCALBASE}/include/irssi/src -I${LOCALBASE}/include/irssi/src/core -I${LOCALBASE}/include/irssi/src/irc/core -I${LOCALBASE}/include/irssi/src/irc/dcc `pkg-config --cflags glib-2.0`
+
 NO_WRKSUBDIR=	yes
 
 PLIST_FILES=	lib/irssi/modules/lib/${DISTNAME}.so
 
-CFLAGS+=	-shared -fPIC -I${LOCALBASE}/include/irssi -I${LOCALBASE}/include/irssi/src -I${LOCALBASE}/include/irssi/src/core -I${LOCALBASE}/include/irssi/src/irc/core -I${LOCALBASE}/include/irssi/src/irc/dcc `pkg-config --cflags glib-2.0`
-
 do-extract:
 	@${RM} -r ${WRKSRC}
 	@${MKDIR} ${WRKSRC}