aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Romero <romerosanchezv@gmail.com>2019-03-05 15:28:23 -0800
committerGitHub <noreply@github.com>2019-03-05 15:28:23 -0800
commite8f643f11a7e8be219d4271a56606722968f0a56 (patch)
tree810a5f040f4bdb7de5f2451c3f659eaca6adfb83
parent334eb170b1c243f69bba58ce70ec6b828c8d3a60 (diff)
downloadvcpkg-e8f643f11a7e8be219d4271a56606722968f0a56.tar.gz
vcpkg-e8f643f11a7e8be219d4271a56606722968f0a56.zip
Revert "[wt] Fix absolute paths in installed share/wt/*.cmake files (#5083)" (#5555)
This reverts commit 334eb170b1c243f69bba58ce70ec6b828c8d3a60.
-rw-r--r--ports/wt/CONTROL2
-rw-r--r--ports/wt/portfile.cmake8
2 files changed, 1 insertions, 9 deletions
diff --git a/ports/wt/CONTROL b/ports/wt/CONTROL
index 439da52de..5db330a5c 100644
--- a/ports/wt/CONTROL
+++ b/ports/wt/CONTROL
@@ -1,4 +1,4 @@
Source: wt
-Version: 4.0.5-1
+Version: 4.0.5
Description: Wt is a C++ library for developing web applications
Build-Depends: openssl, sqlite3, libpq, pango, glew, boost-date-time, boost-regex, boost-program-options, boost-signals, boost-system, boost-filesystem, boost-thread, boost-random, boost-multi-index, boost-signals2, boost-asio, boost-ublas, boost-conversion, boost-array, boost-smart-ptr, boost-tuple, boost-algorithm, boost-logic, boost-interprocess
diff --git a/ports/wt/portfile.cmake b/ports/wt/portfile.cmake
index b8bfab31a..c9fb520f6 100644
--- a/ports/wt/portfile.cmake
+++ b/ports/wt/portfile.cmake
@@ -43,14 +43,6 @@ vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH share/wt)
-# Fix absolute paths.
-file(GLOB CMAKE_FILES ${CURRENT_PACKAGES_DIR}/share/wt/*.cmake)
-foreach(CMAKE_FILE ${CMAKE_FILES})
- file(READ ${CMAKE_FILE} _contents)
- string(REPLACE "${VCPKG_ROOT_DIR}/installed/${TARGET_TRIPLET}" "\${_IMPORT_PREFIX}" _contents "${_contents}")
- file(WRITE ${CMAKE_FILE} "${_contents}")
-endforeach()
-
# There is no way to suppress installation of the headers and resource files in debug build.
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/debug/share)