summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/py-email/Makefile8
-rw-r--r--mail/py-email2/Makefile8
-rw-r--r--mail/py-mimelib/Makefile8
3 files changed, 21 insertions, 3 deletions
diff --git a/mail/py-email/Makefile b/mail/py-email/Makefile
index a97a79d..5c713f1 100644
--- a/mail/py-email/Makefile
+++ b/mail/py-email/Makefile
@@ -20,4 +20,10 @@ DIST_SUBDIR= python
USE_PYTHON= yes
USE_PYDISTUTILS=yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} >= 220
+IGNORE= is part of the Python base distribution since python 2.2
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/mail/py-email2/Makefile b/mail/py-email2/Makefile
index a97a79d..5c713f1 100644
--- a/mail/py-email2/Makefile
+++ b/mail/py-email2/Makefile
@@ -20,4 +20,10 @@ DIST_SUBDIR= python
USE_PYTHON= yes
USE_PYDISTUTILS=yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} >= 220
+IGNORE= is part of the Python base distribution since python 2.2
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/mail/py-mimelib/Makefile b/mail/py-mimelib/Makefile
index a97a79d..5c713f1 100644
--- a/mail/py-mimelib/Makefile
+++ b/mail/py-mimelib/Makefile
@@ -20,4 +20,10 @@ DIST_SUBDIR= python
USE_PYTHON= yes
USE_PYDISTUTILS=yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} >= 220
+IGNORE= is part of the Python base distribution since python 2.2
+.endif
+
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud