forked from Lainports/freebsd-ports
Changes: http://www.boost.org/users/history/version_1_66_0.html PR: 223922 Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D13279
35 lines
1.1 KiB
Makefile
35 lines
1.1 KiB
Makefile
# Created by: Dmitry Sivachenko <demon@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= randlm
|
|
PORTVERSION= 0.2.5
|
|
PORTREVISION= 10
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= SF/${PORTNAME}
|
|
|
|
MAINTAINER= demon@FreeBSD.org
|
|
COMMENT= A toolkit for building randomized language models
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/google/sparse_hash_map:devel/sparsehash
|
|
LIB_DEPENDS= libboost_thread.so:devel/boost-libs
|
|
RUN_DEPENDS= ${LOCALBASE}/include/google/sparse_hash_map:devel/sparsehash
|
|
|
|
BROKEN_aarch64= fails to compile: invalid output constraint =a in assembler
|
|
BROKEN_armv6= fails to compile: invalid output constraint =a in assembler
|
|
BROKEN_powerpc64= fails to compile: 'itr' does not name a type
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_PERL5= run
|
|
USE_LDCONFIG= yes
|
|
USES= autoreconf libtool compiler:c++11-lang
|
|
GNU_CONFIGURE= yes
|
|
MAKE_JOBS_UNSAFE=yes
|
|
CXXFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
INSTALL_TARGET= install-strip
|
|
|
|
post-patch:
|
|
cd ${WRKSRC}/hadoop && ${MV} strings.cpp strings.cc && ${MV} strings.h s.h
|
|
${REINPLACE_CMD} -e s#strings.h#s.h# ${WRKSRC}/hadoop/r_compute_ngram_counts.cpp ${WRKSRC}/hadoop/m_compute_ngram_counts_batch.cpp
|
|
|
|
.include <bsd.port.mk>
|