git: b17f1122ce76 - main - devel/py-ctags: Fix build with llvm15

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 04 Jun 2023 13:23:35 UTC
The branch main has been updated by bofh:

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

commit b17f1122ce7678d6a70905589e4063b3e8d4796c
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-04 12:26:30 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-04 13:23:25 +0000

    devel/py-ctags: Fix build with llvm15
    
    - Add LICENCE LGPL20
    
    Approved by:    portmgr (blanket)
---
 devel/py-ctags/Makefile | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/devel/py-ctags/Makefile b/devel/py-ctags/Makefile
index a0e03e517634..dff1a6037134 100644
--- a/devel/py-ctags/Makefile
+++ b/devel/py-ctags/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ctags
 PORTVERSION=	1.0.5
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,7 +10,15 @@ MAINTAINER=	ahkdiep@gmail.com
 COMMENT=	Python bindings for ctags index file
 WWW=		https://pypi.org/project/python-ctags/
 
+LICENSE=	LGPL20+
+
 USES=		python:3.6-3.9
 USE_PYTHON=	distutils autoplist
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
+.include <bsd.port.post.mk>