aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorAndyBrown91 <andyjtbrown@gmail.com>2021-05-03 18:52:53 +0100
committerGitHub <noreply@github.com>2021-05-03 10:52:53 -0700
commit27f892aa14c0d5c141dac16b32e957890c732f67 (patch)
treeffdb8b918dee0aed40e19063a9adc64a2838bf3a /ports
parentc8729e190041e8cb2e5dbba894348930aaacecdd (diff)
downloadvcpkg-27f892aa14c0d5c141dac16b32e957890c732f67.tar.gz
vcpkg-27f892aa14c0d5c141dac16b32e957890c732f67.zip
[ghc-filesystem] Fix port/package name discrepancy (#17589)
Diffstat (limited to 'ports')
-rw-r--r--ports/ghc-filesystem/portfile.cmake5
-rw-r--r--ports/ghc-filesystem/vcpkg.json1
2 files changed, 5 insertions, 1 deletions
diff --git a/ports/ghc-filesystem/portfile.cmake b/ports/ghc-filesystem/portfile.cmake
index 2f580fba2..781933c2c 100644
--- a/ports/ghc-filesystem/portfile.cmake
+++ b/ports/ghc-filesystem/portfile.cmake
@@ -14,7 +14,10 @@ vcpkg_cmake_configure(
-DGHC_FILESYSTEM_WITH_INSTALL=ON
)
vcpkg_cmake_install()
-vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/ghc_filesystem)
+vcpkg_cmake_config_fixup(
+ PACKAGE_NAME ghc_filesystem
+ CONFIG_PATH lib/cmake/ghc_filesystem
+)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug
diff --git a/ports/ghc-filesystem/vcpkg.json b/ports/ghc-filesystem/vcpkg.json
index 71aa2b1ae..648a6fdd9 100644
--- a/ports/ghc-filesystem/vcpkg.json
+++ b/ports/ghc-filesystem/vcpkg.json
@@ -1,6 +1,7 @@
{
"name": "ghc-filesystem",
"version": "1.5.4",
+ "port-version": 1,
"description": "An implementation of C++17 std::filesystem for C++11 /C++14/C++17/C++20 on Windows, macOS, Linux and FreeBSD",
"homepage": "https://github.com/gulrak/filesystem",
"dependencies": [