svn commit: r351694 - head/dns/bind10
Mathieu Arnold
mat at FreeBSD.org
Mon Apr 21 16:38:13 UTC 2014
Author: mat
Date: Mon Apr 21 16:38:12 2014
New Revision: 351694
URL: http://svnweb.freebsd.org/changeset/ports/351694
QAT: https://qat.redports.org/buildarchive/r351694/
Log:
Add IGNORE if the default python is not the right one.
Sponsored by: Absolight
Modified:
head/dns/bind10/Makefile
Modified: head/dns/bind10/Makefile
==============================================================================
--- head/dns/bind10/Makefile Mon Apr 21 16:22:20 2014 (r351693)
+++ head/dns/bind10/Makefile Mon Apr 21 16:38:12 2014 (r351694)
@@ -27,7 +27,7 @@ LIB_DEPENDS= libbotan-1.10.so:${PORTSDIR
libsqlite3.so:${PORTSDIR}/databases/sqlite3
RUN_DEPENDS= ${PYTHON_LIBDIR}/lib-dynload/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3
-USE_PYTHON= 3.3
+USE_PYTHON= 3
USE_OPENSSL= yes
USE_LDCONFIG= yes
USES= compiler:c++11-lang pathfix pkgconfig
@@ -47,4 +47,10 @@ post-install:
${MV} ${STAGEDIR}${ETCDIR}/cmdctl-certfile.pem ${STAGEDIR}${ETCDIR}/cmdctl-certfile.pem.sample
${MV} ${STAGEDIR}${ETCDIR}/cmdctl-keyfile.pem ${STAGEDIR}${ETCDIR}/cmdctl-keyfile.pem.sample
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${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>
More information about the svn-ports-all
mailing list