summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-10-18 14:44:52 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-10-18 14:44:52 +0000
commitece245b57fbe79f1837b95174e550bd5f048f93d (patch)
tree9c399c798435e88dd916c8c5c522947756b0c6e9
parentFix build on FreeBSD-8.4. (diff)
Ignore on the package builders when the default version of python is different
from the requested one Reported by: pkg-fallout
Notes
Notes: svn path=/head/; revision=371129
-rw-r--r--mail/rss2email3/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/rss2email3/Makefile b/mail/rss2email3/Makefile
index 70e716c9baf6..f627cfdbb7de 100644
--- a/mail/rss2email3/Makefile
+++ b/mail/rss2email3/Makefile
@@ -36,4 +36,10 @@ post-install:
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
${INSTALL_MAN} ${WRKSRC}/r2e.1 ${STAGEDIR}${MANPREFIX}/man/man1
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(PACKAGE_BUILDING) && ${PYTHON_VER} != ${PYTHON_DEFAULT}
+IGNORE= you have python ${PYTHON_DEFAULT} set as the default, and this needs ${PYTHON_VER}
+.endif
+
+.include <bsd.port.post.mk>