Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jun 2019 21:48:54 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r505390 - head/textproc/py-gensim
Message-ID:  <201906292148.x5TLms6Z099438@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906292148.x5TLms6Z099438>