Index: head/finance/electrum/Makefile =================================================================== --- head/finance/electrum/Makefile (revision 453871) +++ head/finance/electrum/Makefile (revision 453872) @@ -1,39 +1,46 @@ # Created by: Neil Booth # $FreeBSD$ PORTNAME= electrum PORTVERSION= 3.0.1 CATEGORIES= finance python MASTER_SITES= https://download.electrum.org/${PORTVERSION}/ \ http://download.electrum.org/${PORTVERSION}/ DISTNAME= Electrum-${PORTVERSION} MAINTAINER= ehaupt@FreeBSD.org COMMENT= Easy to use Bitcoin client LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENCE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dnspython>0:dns/py3-dnspython \ ${PYTHON_PKGNAMEPREFIX}ecdsa>0:security/py3-ecdsa \ ${PYTHON_PKGNAMEPREFIX}httplib2>=0:www/py3-httplib2 \ ${PYTHON_PKGNAMEPREFIX}jsonrpclib-pelix>0:devel/py-jsonrpclib-pelix \ ${PYTHON_PKGNAMEPREFIX}pbkdf2>=1.3:security/py3-pbkdf2 \ ${PYTHON_PKGNAMEPREFIX}protobuf>=2.6.0:devel/py3-protobuf \ ${PYTHON_PKGNAMEPREFIX}pyaes>0:security/py3-pyaes \ ${PYTHON_PKGNAMEPREFIX}pysocks>=0:net/py3-pysocks \ ${PYTHON_PKGNAMEPREFIX}qrcode>=5.1:textproc/py3-qrcode \ ${PYTHON_PKGNAMEPREFIX}requests>=2.4.3:www/py3-requests CONFLICTS_INSTALL= electrum2-* USES= desktop-file-utils pyqt:5 python:3 USE_PYQT= gui_run sip widgets USE_PYTHON= autoplist distutils PYDISTUTILS_PKGNAME= Electrum NO_ARCH= yes +.include + +.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 +.include