summaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-09-11 17:51:14 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-09-11 17:51:14 +0000
commitd72fb9d8ed0cb4b867efa30e1f714444d7f12c15 (patch)
treeecca734c920fec61fb85e298ea94ff8ee66fe976 /chinese
parent- Preserve devel/yaml-cpp as devel/yaml-cpp03 in preparation to update to 0.5 (diff)
- Switch graphics/opencolorio and chinese/librime to yaml-cpp03, as they are incompatible with newer version
PR: 192330
Notes
Notes: svn path=/head/; revision=367958
Diffstat (limited to 'chinese')
-rw-r--r--chinese/librime/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/chinese/librime/Makefile b/chinese/librime/Makefile
index 0bd7a0a0d7b8..637d444ccf3a 100644
--- a/chinese/librime/Makefile
+++ b/chinese/librime/Makefile
@@ -3,7 +3,7 @@
PORTNAME= librime
PORTVERSION= 0.9.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= chinese textproc
MASTER_SITES= GOOGLE_CODE
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} brise-${DATA_VER}.tar.gz
@@ -17,7 +17,7 @@ LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs \
libglog.so:${PORTSDIR}/devel/glog \
libkyotocabinet.so:${PORTSDIR}/databases/kyotocabinet \
libopencc.so:${PORTSDIR}/chinese/opencc \
- libyaml-cpp.so:${PORTSDIR}/devel/yaml-cpp
+ libyaml-cpp03.so:${PORTSDIR}/devel/yaml-cpp03
USES= cmake pkgconfig gettext perl5
USE_PERL5= build patch
@@ -30,6 +30,8 @@ PLIST_SUB= VER=${PORTVERSION}
post-patch: .SILENT
${FIND} ${WRKSRC} \( -name '*.cc' -or -name '*.h' \) \
-exec ${PERL} -i -pe '$$. == 1 && s/^\xef\xbb\xbf//;' '{}' \;
+ ${REINPLACE_CMD} -e 's|yaml-cpp|&03|g' ${WRKSRC}/cmake/FindYamlCpp.cmake \
+ ${WRKSRC}/src/config.cc ${WRKSRC}/src/dict/dict_settings.cc
post-build:
@echo "building rime data."