aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2018-04-20 15:31:26 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2018-04-23 18:43:05 -0700
commit825c22de5803db64bf2b82cbe734c26c450b1789 (patch)
tree82128dd25b1fcf95e3e43e230f067ee06b54a7c1
parentd84e86a910126e91c781af63e33e3516aa171f2a (diff)
downloadvcpkg-825c22de5803db64bf2b82cbe734c26c450b1789.tar.gz
vcpkg-825c22de5803db64bf2b82cbe734c26c450b1789.zip
[protobuf] Fix protoc permissions
-rw-r--r--ports/protobuf/CONTROL2
-rw-r--r--ports/protobuf/portfile.cmake3
2 files changed, 3 insertions, 2 deletions
diff --git a/ports/protobuf/CONTROL b/ports/protobuf/CONTROL
index 12e508f6d..ba20ec0c9 100644
--- a/ports/protobuf/CONTROL
+++ b/ports/protobuf/CONTROL
@@ -1,5 +1,5 @@
Source: protobuf
-Version: 3.5.1-2
+Version: 3.5.1-3
Description: Protocol Buffers - Google's data interchange format
Feature: zlib
diff --git a/ports/protobuf/portfile.cmake b/ports/protobuf/portfile.cmake
index 765b52a1d..a6875edb9 100644
--- a/ports/protobuf/portfile.cmake
+++ b/ports/protobuf/portfile.cmake
@@ -116,7 +116,8 @@ if(CMAKE_HOST_WIN32)
endif()
else()
protobuf_try_remove_recurse_wait(${CURRENT_PACKAGES_DIR}/debug/bin)
- file(INSTALL ${CURRENT_PACKAGES_DIR}/bin/protoc DESTINATION ${CURRENT_PACKAGES_DIR}/tools)
+ file(INSTALL ${CURRENT_PACKAGES_DIR}/bin/protoc DESTINATION ${CURRENT_PACKAGES_DIR}/tools
+ PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_WRITE GROUP_EXECUTE WORLD_READ)
protobuf_try_remove_recurse_wait(${CURRENT_PACKAGES_DIR}/bin)
endif()