mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
dc519ff887
cld_generated_cjk_uni_prop_80.cc:169:1: error: constant expression evaluates to -14 which cannot be narrowed to type 'CLD2::uint8' (aka 'unsigned char') [-Wc++11-narrowing] -14,-14,-14,-14,-14,-14,-14,-14, -14,-14,-14,-14,-14,-14,-14,-14, ^~~ cld_generated_cjk_uni_prop_80.cc:169:1: note: insert an explicit cast to silence this issue -14,-14,-14,-14,-14,-14,-14,-14, -14,-14,-14,-14,-14,-14,-14,-14, ^~~ static_cast<uint8>( ) http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/cld2-20150505.log PR: 230906 Submitted by: tobik Approved by: demon (maintainer)
34 lines
1.1 KiB
Makefile
34 lines
1.1 KiB
Makefile
# Created by: Dmitry Sivachenko <demon@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cld
|
|
PORTVERSION= 20150505
|
|
CATEGORIES= devel
|
|
MASTER_SITES= LOCAL/demon
|
|
PKGNAMESUFFIX= 2
|
|
|
|
MAINTAINER= demon@FreeBSD.org
|
|
COMMENT= Compact language detector library
|
|
|
|
LICENSE= APACHE20
|
|
|
|
USES= compiler
|
|
USE_LDCONFIG= yes
|
|
|
|
CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
|
|
CXXFLAGS_clang= -Wno-c++11-narrowing
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e "s#g++#${CXX}#" ${WRKSRC}/internal/compile_libs.sh
|
|
|
|
do-build:
|
|
cd ${WRKSRC}/internal && ${SETENV} ${MAKE_ENV} ./compile_libs.sh
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/include/cld/public ${STAGEDIR}${PREFIX}/include/cld/internal
|
|
${INSTALL_DATA} ${WRKSRC}/public/encodings.h ${WRKSRC}/public/compact_lang_det.h ${STAGEDIR}${PREFIX}/include/cld/public/
|
|
${INSTALL_DATA} ${WRKSRC}/internal/lang_script.h ${WRKSRC}/internal/integral_types.h ${WRKSRC}/internal/generated_language.h ${WRKSRC}/internal/generated_ulscript.h ${STAGEDIR}${PREFIX}/include/cld/internal/
|
|
${INSTALL_LIB} ${WRKSRC}/internal/libcld2.so ${WRKSRC}/internal/libcld2_full.so ${STAGEDIR}${PREFIX}/lib/
|
|
|
|
.include <bsd.port.mk>
|