mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
701aa3bcf8
Changes: http://www.boost.org/users/history/version_1_72_0.html PR: 241449 Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D22136
41 lines
1.3 KiB
Makefile
41 lines
1.3 KiB
Makefile
# Created by: Dmitry Sivachenko <demon@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= randlm
|
|
PORTVERSION= 0.2.5
|
|
PORTREVISION= 19
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= SF/${PORTNAME}
|
|
|
|
MAINTAINER= demon@FreeBSD.org
|
|
COMMENT= Toolkit for building randomized language models
|
|
|
|
LICENSE= GPLv3+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
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
|
|
|
|
USES= autoreconf libtool localbase:ldflags compiler:c++11-lang
|
|
USE_CXXSTD= gnu++98
|
|
USE_PERL5= run
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
MAKE_JOBS_UNSAFE=yes
|
|
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
|
|
@${REINPLACE_CMD} -e 's,-L./,,' -e 's,-lLDHT,libLDHT.la,' \
|
|
-e 's,-lticpp,libticpp.la,' -e 's,-lRandLM,libRandLM.la,' \
|
|
${WRKSRC}/src/LDHT/Makefile.am \
|
|
${WRKSRC}/src/RandLM/Makefile.am
|
|
|
|
.include <bsd.port.mk>
|