Skip to content

Commit

Permalink
libphonenumber-cpp: update to version 8.9.2
Browse files Browse the repository at this point in the history
Allow build with either protobuf-cpp or protobuf3-cpp.

See #690
  • Loading branch information
dbevans committed Mar 19, 2018
1 parent f92f71a commit f5132e6
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions devel/libphonenumber-cpp/Portfile
Expand Up @@ -4,7 +4,7 @@ PortSystem 1.0
PortGroup cmake 1.1
PortGroup github 1.0

github.setup googlei18n libphonenumber 8.9.1 v
github.setup googlei18n libphonenumber 8.9.2 v
name libphonenumber-cpp
license Apache-2
description Google's C++ library for parsing, formatting, storing \
Expand All @@ -14,9 +14,9 @@ maintainers {devans @dbevans} openmaintainer
categories devel
platforms darwin

checksums rmd160 bf406f798a6a80ac4bcb5965cc8b5a9696c199f7 \
sha256 1675d18fb0b4e88b818a983d8df53c99bed4fb64e3f8cd84c94d9cc94b636e14 \
size 6850319
checksums rmd160 ce57274756fd1f51a98798d737071712cdd37787 \
sha256 fac29449fcda4c597712ec1223b2a24c5f1d806ef9afb0c8b04faefb2f94f727 \
size 6849667

worksrcdir ${worksrcdir}/cpp

Expand All @@ -37,8 +37,10 @@ depends_build-append \
port:pkgconfig

depends_lib-append port:boost \
port:icu \
port:protobuf-cpp
port:icu

# enable build with either protobuf-cpp or protobuf3-cpp
depends_lib-append path:${prefix}/lib/libprotobuf.dylib:protobuf-cpp

configure.args-append \
-DGTEST_SOURCE_DIR=${gtest_srcdir} \
Expand Down

0 comments on commit f5132e6

Please sign in to comment.