Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpprestsdk: update to 2.10.10 #3866

Merged
merged 1 commit into from
Mar 16, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions www/cpprestsdk/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ PortGroup github 1.0
PortGroup cmake 1.1
PortGroup cxx11 1.1

github.setup Microsoft cpprestsdk 2.10.6 v
revision 1
github.setup Microsoft cpprestsdk 2.10.10 v
revision 0
categories www devel
platforms darwin
supported_archs i386 x86_64
Expand All @@ -19,17 +19,21 @@ long_description The C++ REST SDK is a Microsoft project for cloud-based \
client-server communication in native code using a modern \
asynchronous C++ API design.

checksums rmd160 c1b27cd17c3d1c6f89f9592db3ae0d5c16051a7d \
sha256 884098022b09bf490dfdac6218824b5de8bcbef77da843445d9c98d4105bb5ab \
size 2069638
checksums rmd160 f859bee62977046c1cab6a99010ea54e15a717d7 \
sha256 b3d3bdba6301dede05c6bb2acc5e3c1e00950926b91aeec1709180011bd59069 \
size 1755589

depends_lib-append port:boost \
port:libiconv \
path:lib/libssl.dylib:openssl
path:lib/libssl.dylib:openssl \
port:websocketpp

configure.args-append -DBUILD_SAMPLES=OFF -DBUILD_TESTS=OFF

variant tests description {build tests.} {
post-extract {
system -W ${worksrcpath} "echo 'enable_testing()' >> CMakeLists.txt"
}
configure.args-replace -DBUILD_TESTS=OFF -DBUILD_TESTS=ON
configure.post_args-append -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=OFF
test.run yes
Expand Down