diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2014-09-12 01:51:14 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2014-09-12 01:51:14 +0800 |
commit | 0e82048c6dcdde4e1a96934624787044094d134b (patch) | |
tree | ecca734c920fec61fb85e298ea94ff8ee66fe976 /chinese | |
parent | a40803645b37e52feaf692d684438417bfc36874 (diff) | |
download | freebsd-ports-graphics-0e82048c6dcdde4e1a96934624787044094d134b.tar.gz freebsd-ports-graphics-0e82048c6dcdde4e1a96934624787044094d134b.tar.zst freebsd-ports-graphics-0e82048c6dcdde4e1a96934624787044094d134b.zip |
- Switch graphics/opencolorio and chinese/librime to yaml-cpp03, as they are incompatible with newer version
PR: 192330
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/librime/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chinese/librime/Makefile b/chinese/librime/Makefile index 0bd7a0a0d7b..637d444ccf3 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." |