svn commit: r505390 - head/textproc/py-gensim
Piotr Kubaj
pkubaj at FreeBSD.org
Sat Jun 29 21:48:55 UTC 2019
Author: pkubaj
Date: Sat Jun 29 21:48:53 2019
New Revision: 505390
URL: https://svnweb.freebsd.org/changeset/ports/505390
Log:
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)
Modified:
head/textproc/py-gensim/Makefile
Modified: head/textproc/py-gensim/Makefile
==============================================================================
--- head/textproc/py-gensim/Makefile Sat Jun 29 21:46:32 2019 (r505389)
+++ head/textproc/py-gensim/Makefile Sat Jun 29 21:48:53 2019 (r505390)
@@ -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>
More information about the svn-ports-head
mailing list