diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2017-11-10 05:33:21 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2017-11-10 05:33:21 +0800 |
commit | 43f891c201bb21d32fc23fed51923f2397919932 (patch) | |
tree | ec788d8f810aabe86a0f0314c505caa989589eaf /finance | |
parent | fdb0031803a421b330c6d19d9376702422b33581 (diff) | |
download | freebsd-ports-gnome-43f891c201bb21d32fc23fed51923f2397919932.tar.gz freebsd-ports-gnome-43f891c201bb21d32fc23fed51923f2397919932.tar.zst freebsd-ports-gnome-43f891c201bb21d32fc23fed51923f2397919932.zip |
Ignore on the package builders when default version of python is not 3.6+
Suggested by: bdrewery
Reported by: pkg-fallout
Diffstat (limited to 'finance')
-rw-r--r-- | finance/electrum/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/finance/electrum/Makefile b/finance/electrum/Makefile index 8600d1b63d78..e0f97cccf557 100644 --- a/finance/electrum/Makefile +++ b/finance/electrum/Makefile @@ -33,7 +33,14 @@ USE_PYTHON= autoplist distutils PYDISTUTILS_PKGNAME= Electrum NO_ARCH= yes +.include <bsd.port.pre.mk> + +.if defined(PACKAGE_BUILDING) && !defined(PACKAGE_BUILDING_FLAVORS) && \ + ${PYTHON_VER} != ${PYTHON_DEFAULT} +IGNORE= you have python ${PYTHON_DEFAULT} set as the default, and this needs ${PYTHON_VER} +.endif + post-patch: @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/setup.py -.include <bsd.port.mk> +.include <bsd.port.post.mk> |