summaryrefslogtreecommitdiff
path: root/databases/py-postgresql
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-06 18:57:13 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-06 20:45:24 +0000
commit3bd54d7cbbfdba7cb178b8372af2532ef33e1081 (patch)
tree2a79d470006a096c1a23c333fea9c43205c9d93c /databases/py-postgresql
parentad651bf17fa7afbc9c916a2e4038c5e5aae3bb4e (diff)
Diffstat (limited to 'databases/py-postgresql')
-rw-r--r--databases/py-postgresql/Makefile8
1 files changed, 7 insertions, 1 deletions
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
@@ -15,4 +15,10 @@ LICENSE= BSD3CLAUSE
USES= pgsql python:3.3+
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>