aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoralexbl <alexbl@FreeBSD.org>2006-12-09 05:50:20 +0800
committeralexbl <alexbl@FreeBSD.org>2006-12-09 05:50:20 +0800
commit2345d5819866e18257c97d92f95d297a3881f414 (patch)
treee5aeeee38a7c952cb59cf8045f7e925ba8b93799 /devel
parent0b9acaedb5ca4c4895e77ec5962c54337476b866 (diff)
downloadfreebsd-ports-graphics-2345d5819866e18257c97d92f95d297a3881f414.tar.gz
freebsd-ports-graphics-2345d5819866e18257c97d92f95d297a3881f414.tar.zst
freebsd-ports-graphics-2345d5819866e18257c97d92f95d297a3881f414.zip
- Mark devel/py-ctypes IGNORE with Python 2.5 [1]
- add a PYCTYPES dependency macro to bsd.python.mk to unbreak ctypes using ports on Python 2.5 [2] - Update two of the four ports using ctypes to this macro [3] PR: 104587 [1] Submitted by: Marcus von Appen <mva@sysfault.org> [1] Approved by: portmgr (pav, linimon) [2], myself [3]
Diffstat (limited to 'devel')
-rw-r--r--devel/py-ctypes/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/py-ctypes/Makefile b/devel/py-ctypes/Makefile
index a1b9a5ab54a..f88f0284f76 100644
--- a/devel/py-ctypes/Makefile
+++ b/devel/py-ctypes/Makefile
@@ -19,4 +19,10 @@ USE_PYDISTUTILS=yes
ONLY_FOR_ARCHS= i386 amd64 alpha powerpc sparc64
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} >= 250
+IGNORE= ctypes ships with Python 2.5.x
+.endif
+
+.include <bsd.port.post.mk>