Files
ports/databases/py-postgresql/Makefile
T
Muhammad Moinur Rahman 3bd54d7cbb databases/py-postgresql: Fix build with llvm15
Approved by:	portmgr (blanket)
2023-06-06 22:45:24 +02:00

25 lines
620 B
Makefile

PORTNAME= postgresql
PORTVERSION= 1.3.0
CATEGORIES= databases python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= postgresql
MAINTAINER= arcade@b1t.name
COMMENT= Python 3 compatible PostgreSQL database driver and tools
WWW= https://github.com/python-postgres/fe
LICENSE= BSD3CLAUSE
USES= pgsql python:3.3+
USE_PYTHON= distutils autoplist
.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>