diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2017-11-10 05:33:21 +0800 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2017-11-10 05:33:21 +0800 |
commit | 67ac62827ce500a2c95f75623cbdcdff1f186eb6 (patch) | |
tree | ec788d8f810aabe86a0f0314c505caa989589eaf /finance | |
parent | 2d6a5024caaeba604f276122d0979a238c837dc7 (diff) | |
download | freebsd-ports-gnome-67ac62827ce500a2c95f75623cbdcdff1f186eb6.tar.gz freebsd-ports-gnome-67ac62827ce500a2c95f75623cbdcdff1f186eb6.tar.zst freebsd-ports-gnome-67ac62827ce500a2c95f75623cbdcdff1f186eb6.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> |