aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/protobuf/CONTROL2
-rw-r--r--ports/protobuf/portfile.cmake4
2 files changed, 3 insertions, 3 deletions
diff --git a/ports/protobuf/CONTROL b/ports/protobuf/CONTROL
index 2ba75ed23..192b57f96 100644
--- a/ports/protobuf/CONTROL
+++ b/ports/protobuf/CONTROL
@@ -1,4 +1,4 @@
Source: protobuf
-Version: 3.3.0-2
+Version: 3.3.0-3
Build-Depends: zlib
Description: Protocol Buffers - Google's data interchange format \ No newline at end of file
diff --git a/ports/protobuf/portfile.cmake b/ports/protobuf/portfile.cmake
index 52574ecee..11a06ccd7 100644
--- a/ports/protobuf/portfile.cmake
+++ b/ports/protobuf/portfile.cmake
@@ -88,9 +88,9 @@ endif()
foreach(FILE ${CURRENT_PACKAGES_DIR}/include/google/protobuf/arena.h ${CURRENT_PACKAGES_DIR}/include/google/protobuf/stubs/port.h)
file(READ ${FILE} _contents)
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
- string(REPLACE "defined(PROTOBUF_USE_DLLS)" "1" _contents ${_contents})
+ string(REPLACE "defined(PROTOBUF_USE_DLLS)" "1" _contents "${_contents}")
else()
- string(REPLACE "defined(PROTOBUF_USE_DLLS)" "0" _contents ${_contents})
+ string(REPLACE "defined(PROTOBUF_USE_DLLS)" "0" _contents "${_contents}")
endif()
file(WRITE ${FILE} ${_contents})
endforeach()