diff --git a/databases/py-postgresql/Makefile b/databases/py-postgresql/Makefile index 3b8da9df1fe1..e00a753494c8 100644 --- a/databases/py-postgresql/Makefile +++ b/databases/py-postgresql/Makefile @@ -1,18 +1,24 @@ 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 +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif + +.include