You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
opencc: bump revision
This commit is contained in:
@@ -5,7 +5,7 @@ PortGroup cmake 1.1
|
||||
PortGroup github 1.0
|
||||
|
||||
github.setup BYVoid OpenCC 1.1.9 ver.
|
||||
revision 0
|
||||
revision 1
|
||||
checksums rmd160 11494a72423a298d39d7e5f77746a6b906702b73 \
|
||||
sha256 ad4bcd8d87219a240a236d4a55c9decd2132a9436697d2882ead85c8939b0a99 \
|
||||
size 3422511
|
||||
@@ -31,9 +31,13 @@ depends_lib port:marisa-trie
|
||||
patchfiles patch-data-CMakeLists.txt.diff
|
||||
|
||||
compiler.cxx_standard \
|
||||
2014
|
||||
2017
|
||||
|
||||
configure.args -DUSE_SYSTEM_MARISA=ON
|
||||
# include/marisa/key.h:22:21: error: 'std::string_view' has not been declared
|
||||
post-patch {
|
||||
reinplace "s|CMAKE_CXX_STANDARD 14|CMAKE_CXX_STANDARD 17|" ${worksrcpath}/CMakeLists.txt
|
||||
reinplace "s|std=c++14|std=c++17|g" ${worksrcpath}/CMakeLists.txt
|
||||
}
|
||||
|
||||
if {${os.platform} ne "darwin" || ${os.major} >= 21} {
|
||||
configure.args-append -DPYTHON_EXECUTABLE=/usr/bin/python3
|
||||
|
||||
Reference in New Issue
Block a user