diff options
author | Tobias C. Berner <tcberner@FreeBSD.org> | 2017-02-04 13:37:15 +0000 |
---|---|---|
committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2017-02-04 13:37:15 +0000 |
commit | 4c7d30bb708caa0cb93b401f96679728a9f52974 (patch) | |
tree | d3572a824910587e038d1100b5972b19f37005aa /finance | |
parent | Revert deprecation/broken. It turned out that an old configuration setting on my (diff) |
Switch ports to use USE_PYQT=<foo> instead of using RUN_- and BUILD_DEPENDS
pyqt.mk provides USE_PYQT=<list> to depend on its components. Convert the ports
not yet using it to it.
Reviewed by: rakuco, mat
Approved by: rakuco (mentor)
Differential Revision: https://reviews.freebsd.org/D9261
Notes
Notes:
svn path=/head/; revision=433310
Diffstat (limited to 'finance')
-rw-r--r-- | finance/bitcoin-armory/Makefile | 7 | ||||
-rw-r--r-- | finance/electrum/Makefile | 4 |
2 files changed, 5 insertions, 6 deletions
diff --git a/finance/bitcoin-armory/Makefile b/finance/bitcoin-armory/Makefile index c47797523259..d97686a29c5b 100644 --- a/finance/bitcoin-armory/Makefile +++ b/finance/bitcoin-armory/Makefile @@ -15,16 +15,15 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/bin/swig3.0:devel/swig30 \ ${LOCALBASE}/bin/pyrcc4:textproc/py-qt4-xml \ ${LOCALBASE}/bin/rsync:net/rsync -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4-core>=${PYQT4_VERSION}:devel/py-qt4-core \ - ${PYTHON_PKGNAMEPREFIX}qt4-gui>=${PYQT4_VERSION}:x11-toolkits/py-qt4-gui \ - ${PYTHON_PKGNAMEPREFIX}twistedCore>=14.0.0:devel/py-twistedCore \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twistedCore>=14.0.0:devel/py-twistedCore \ ${PYTHON_PKGNAMEPREFIX}psutil>1.2.1:sysutils/py-psutil \ ${LOCALBASE}/bin/bitcoind:net-p2p/bitcoin-daemon USE_GITHUB= yes GH_ACCOUNT= etotheipi -USES= compiler:c++11-lang compiler:c++11-lib gmake python:2 shebangfix +USES= compiler:c++11-lang compiler:c++11-lib gmake pyqt:4 python:2 shebangfix +USE_PYQT= core_run gui_run SHEBANG_FILES= extras/extractKeysFromWallet.py CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib diff --git a/finance/electrum/Makefile b/finance/electrum/Makefile index fb4025a99ce8..3de1771f8101 100644 --- a/finance/electrum/Makefile +++ b/finance/electrum/Makefile @@ -16,7 +16,6 @@ LICENSE_FILE= ${WRKSRC}/LICENCE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}slowaes>0:security/py-slowaes \ ${PYTHON_PKGNAMEPREFIX}ecdsa>0:security/py-ecdsa \ - ${PYTHON_PKGNAMEPREFIX}qt4-gui>=4.10.3:x11-toolkits/py-qt4-gui \ ${PYTHON_PKGNAMEPREFIX}requests>=2.4.3:www/py-requests \ ${PYTHON_PKGNAMEPREFIX}qrcode>=5.1:textproc/py-qrcode \ ${PYTHON_PKGNAMEPREFIX}tlslite>=0.4.6:security/py-tlslite \ @@ -25,7 +24,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}slowaes>0:security/py-slowaes \ ${PYTHON_PKGNAMEPREFIX}dnspython>0:dns/py-dnspython \ ${PYTHON_PKGNAMEPREFIX}jsonrpclib>0:devel/py-jsonrpclib -USES= desktop-file-utils python:-2.7 +USES= desktop-file-utils pyqt:4 python:-2.7 +USE_PYQT= gui_run USE_PYTHON= autoplist distutils PYDISTUTILS_PKGNAME= Electrum NO_ARCH= yes |