aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-05-01 23:45:36 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-05-01 23:45:36 -0700
commit0c2f66c49b0cc0fd3effa7cbd3c031be7d7e92e6 (patch)
tree1b3492fb44f1bfead0a568725e6c0256f36db7e7
parent9c4099545b7ab0529f927050d8d61df99e68e315 (diff)
downloadvcpkg-0c2f66c49b0cc0fd3effa7cbd3c031be7d7e92e6.tar.gz
vcpkg-0c2f66c49b0cc0fd3effa7cbd3c031be7d7e92e6.zip
[boost] Move boost_test_exec_monitor into manual-link subdirectory. Fixes #352.
-rw-r--r--ports/boost/CONTROL2
-rw-r--r--ports/boost/portfile.cmake17
2 files changed, 15 insertions, 4 deletions
diff --git a/ports/boost/CONTROL b/ports/boost/CONTROL
index 23809da56..73a8f0a87 100644
--- a/ports/boost/CONTROL
+++ b/ports/boost/CONTROL
@@ -1,4 +1,4 @@
Source: boost
-Version: 1.64-1
+Version: 1.64-2
Description: Peer-reviewed portable C++ source libraries
Build-Depends: zlib, bzip2
diff --git a/ports/boost/portfile.cmake b/ports/boost/portfile.cmake
index 5317b0850..6ce79afe6 100644
--- a/ports/boost/portfile.cmake
+++ b/ports/boost/portfile.cmake
@@ -1,12 +1,13 @@
include(vcpkg_common_functions)
-set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/boost_1_64_0)
+set(VERSION 1_64)
+set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/boost_${VERSION}_0)
######################
# Acquire and arrange sources
######################
vcpkg_download_distfile(ARCHIVE_FILE
- URLS "https://sourceforge.net/projects/boost/files/boost/1.64.0/boost_1_64_0.tar.bz2"
- FILENAME "boost_1_64_0.tar.bz2"
+ URLS "https://sourceforge.net/projects/boost/files/boost/1.64.0/boost_${VERSION}_0.tar.bz2"
+ FILENAME "boost_${VERSION}_0.tar.bz2"
SHA512 68477f148f61be617552ef48559c5c2cb90d42264cabd6d5e87215d0d5024b48fca27c4afcfc1f77e490c6220d44fb1abdf0a53703867a2e4132c2857f69fedf
)
vcpkg_extract_source_archive(${ARCHIVE_FILE})
@@ -261,6 +262,11 @@ if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
endif()
file(GLOB RELEASE_LIBS ${CURRENT_PACKAGES_DIR}/lib/*.lib)
boost_rename_libs(RELEASE_LIBS)
+file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/lib/manual-link)
+file(RENAME
+ ${CURRENT_PACKAGES_DIR}/lib/boost_test_exec_monitor-vc140-mt-${VERSION}.lib
+ ${CURRENT_PACKAGES_DIR}/lib/manual-link/boost_test_exec_monitor-vc140-mt-${VERSION}.lib
+)
message(STATUS "Packaging ${TARGET_TRIPLET}-rel done")
message(STATUS "Packaging ${TARGET_TRIPLET}-dbg")
@@ -274,6 +280,11 @@ if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
endif()
file(GLOB DEBUG_LIBS ${CURRENT_PACKAGES_DIR}/debug/lib/*.lib)
boost_rename_libs(DEBUG_LIBS)
+file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/debug/lib/manual-link)
+file(RENAME
+ ${CURRENT_PACKAGES_DIR}/debug/lib/boost_test_exec_monitor-vc140-mt-gd-${VERSION}.lib
+ ${CURRENT_PACKAGES_DIR}/debug/lib/manual-link/boost_test_exec_monitor-vc140-mt-gd-${VERSION}.lib
+)
message(STATUS "Packaging ${TARGET_TRIPLET}-dbg done")
vcpkg_copy_pdbs()