mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
- Add missing dependency on qt corelib
- Fix dependency on python: require 2.7, fails with python3: bindings/python/qrosspython/cxx/IndirectPythonInterface.cxx:469:12: error: unknown type name 'DL_IMPORT' extern "C" DL_IMPORT(PyTypeObject) PyRange_Type; ^ bindings/python/qrosspython/cxx/IndirectPythonInterface.cxx:469:35: error: expected ';' after top level declarator extern "C" DL_IMPORT(PyTypeObject) PyRange_Type; ^ ; bindings/python/qrosspython/cxx/IndirectPythonInterface.cxx:470:34: error: expected function body after function declarator extern "C" DL_IMPORT(PyObject *) PyRange_New(long, long, long, int); ^ bindings/python/qrosspython/cxx/IndirectPythonInterface.cxx:497:44: error: no member named 'PyExc_MemoryErrorInst' in the global namespace; did you mean '_Exc_MemoryErrorInst'? PyObject * _Exc_MemoryErrorInst() { return ::PyExc_MemoryErrorInst; } ^~~~~~~~~~~~~~~~~~~~~~~ _Exc_MemoryErrorInst ... - Fix dependency on py-sip (use flavors to depend on correct version) - Switch to opt_CMAKE_BOOL Approved by: portmgr blanket
This commit is contained in:
parent
ebdb3aa91f
commit
1e55cb8b3e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=461081
@ -13,7 +13,7 @@ LICENSE= LGPL20+
|
||||
|
||||
USES= cmake
|
||||
USE_LDCONFIG= yes
|
||||
USE_QT4= designer gui network xml qmake_build uic_build moc_build \
|
||||
USE_QT4= corelib designer gui network xml qmake_build uic_build moc_build \
|
||||
rcc_build script testlib
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= 0xd34df00d
|
||||
@ -24,9 +24,9 @@ WRKSRC_SUBDIR= src
|
||||
OPTIONS_DEFINE= PYTHON
|
||||
OPTIONS_SUB= yes
|
||||
PYTHON_DESC= Python bindings
|
||||
PYTHON_CMAKE_ON= -DENABLE_PYTHON:BOOL=true
|
||||
PYTHON_CMAKE_OFF= -DENABLE_PYTHON:BOOL=false
|
||||
PYTHON_BUILD_DEPENDS= sip:devel/py-sip
|
||||
PYTHON_CMAKE_BOOL= ENABLE_PYTHON
|
||||
PYTHON_BUILD_DEPENDS= ${PYTHON_INCLUDEDIR}/sip.h:devel/py-sip@${PY_FLAVOR}
|
||||
PYTHON_USES= python:2.7
|
||||
OPTIONS_DEFAULT=PYTHON
|
||||
|
||||
post-extract:
|
||||
|
Loading…
Reference in New Issue
Block a user