diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2019-06-29 21:48:53 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2019-06-29 21:48:53 +0000 |
commit | dae2d0803771930b79fa27146e522e3bfa5b6fce (patch) | |
tree | 79e0cbb1195453fbabb6672b0e0d7cdc6d168104 /textproc/py-gensim | |
parent | acd74474dcd3cda681761dafa63dfa882fcbd32a (diff) | |
download | ports-dae2d0803771930b79fa27146e522e3bfa5b6fce.tar.gz ports-dae2d0803771930b79fa27146e522e3bfa5b6fce.zip |
textproc/py-gensim: fix build
Add USES=compiler:c++11-lang to fix:
./gensim/models/doc2vec_corpusfile.cpp: At global scope:
./gensim/models/doc2vec_corpusfile.cpp:1367: error: expected initializer before '<' token
./gensim/models/doc2vec_corpusfile.cpp:1398: error: '__pyx_t_6gensim_6models_19word2vec_corpusfile_cvocab_t' does not name a type
./gensim/models/doc2vec_corpusfile.cpp:1432: error: ISO C++ forbids declaration of '__pyx_t_6gensim_6models_19word2vec_corpusfile_cvocab_t' with no type
./gensim/models/doc2vec_corpusfile.cpp:1432: error: expected ';' before '*' token
./gensim/models/doc2vec_corpusfile.cpp:1938: error: '__pyx_t_6gensim_6models_19word2vec_corpusfile_cvocab_t' has not been declared
./gensim/models/doc2vec_corpusfile.cpp:2134: error: '__pyx_t_6gensim_6models_19word2vec_corpusfile_cvocab_t' has not been declared
Approved by: mentors (implicite approval)
Notes
Notes:
svn path=/head/; revision=505390
Diffstat (limited to 'textproc/py-gensim')
-rw-r--r-- | textproc/py-gensim/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/textproc/py-gensim/Makefile b/textproc/py-gensim/Makefile index cfe58f0ecf5f..8ab60566f397 100644 --- a/textproc/py-gensim/Makefile +++ b/textproc/py-gensim/Makefile @@ -18,7 +18,7 @@ RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}six>=1.5.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}smart_open>=1.7.1:net/py-smart_open@${PY_FLAVOR} -USES= python +USES= compiler:c++11-lang python USE_PYTHON= distutils autoplist .include <bsd.port.mk> |