aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-04 12:26:30 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-04 13:23:25 +0000
commitb17f1122ce7678d6a70905589e4063b3e8d4796c (patch)
treebe800727e095eafd5d7f8bd69eb4759208773641
parentba903e300598894004dd8776fc6ca4ea1139e32f (diff)
downloadports-b17f1122ce7678d6a70905589e4063b3e8d4796c.tar.gz
ports-b17f1122ce7678d6a70905589e4063b3e8d4796c.zip
devel/py-ctags: Fix build with llvm15
- Add LICENCE LGPL20 Approved by: portmgr (blanket)
-rw-r--r--devel/py-ctags/Makefile12
1 files 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>