symbol-table-ops.cc: In function 'bool fst::AddAuxiliarySymbols(const string&, int64, int64, fst::SymbolTable*)': symbol-table-ops.cc:131:43: error: 'to_string' is not a member of 'std' if (index != syms->AddSymbol(prefix + std::to_string(i), index)) { ^ Reported by: pkg-fallout Approved by: portmgr blanket
25 lines
856 B
Makefile
25 lines
856 B
Makefile
# Created by: Dmitry Sivachenko <mitya@yandex-team.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= openfst
|
|
PORTVERSION= 1.5.4
|
|
CATEGORIES= math
|
|
MASTER_SITES= http://www.openfst.org/twiki/pub/FST/FstDownload/
|
|
|
|
MAINTAINER= demon@FreeBSD.org
|
|
COMMENT= Library for working with weighted finite-state transducers (FSTs)
|
|
|
|
LICENSE= APACHE20
|
|
|
|
BROKEN_powerpc64= Does not build
|
|
BROKEN_sparc64= Does not build: fails to compile symbol-table-ops.cc
|
|
|
|
USES= compiler:c++11-lib libtool python:2
|
|
USE_LDCONFIG= ${LOCALBASE}/lib/fst
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+=--enable-bin --enable-compact-fsts --enable-compress --enable-const-fsts --enable-far --enable-linear-fsts --enable-lookahead-fsts --enable-mpdt --enable-ngram-fsts --enable-pdt --enable-python
|
|
CFLAGS+= -D_GLIBCXX_USE_C99 # XXX ports/193528
|
|
LDFLAGS+= "-L${LOCALBASE}/lib"
|
|
MAKE_ENV+= PYTHON=${PYTHON_CMD}
|
|
|
|
.include <bsd.port.mk>
|