From 15df0c0f711ed014eecb7ec3f05b3f02748e5796 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jack=C2=B7Boos=C2=B7Yu?= <47264268+JackBoosY@users.noreply.github.com> Date: Fri, 21 Aug 2020 17:00:25 -0700 Subject: [PATCH] [boost-uninstall] Add port to easily uninstall all boost components (#12851) Co-authored-by: Daniel Marshall --- ports/boost-build/CONTROL | 3 ++- ports/boost-modular-build-helper/CONTROL | 3 ++- ports/boost-uninstall/CONTROL | 4 ++++ ports/boost-uninstall/portfile.cmake | 4 ++++ ports/boost-vcpkg-helpers/CONTROL | 2 ++ 5 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 ports/boost-uninstall/CONTROL create mode 100644 ports/boost-uninstall/portfile.cmake diff --git a/ports/boost-build/CONTROL b/ports/boost-build/CONTROL index f6ab98cf82..8b4c5e1613 100644 --- a/ports/boost-build/CONTROL +++ b/ports/boost-build/CONTROL @@ -1,5 +1,6 @@ Source: boost-build Version: 1.73.0 -Port-Version: 2 +Port-Version: 3 Homepage: https://github.com/boostorg/build Description: Boost.Build +Build-Depends: boost-uninstall \ No newline at end of file diff --git a/ports/boost-modular-build-helper/CONTROL b/ports/boost-modular-build-helper/CONTROL index f1794db5d1..601b286e0e 100644 --- a/ports/boost-modular-build-helper/CONTROL +++ b/ports/boost-modular-build-helper/CONTROL @@ -1,3 +1,4 @@ Source: boost-modular-build-helper Version: 1.73.0 -Port-Version: 3 +Port-Version: 4 +Build-Depends: boost-uninstall \ No newline at end of file diff --git a/ports/boost-uninstall/CONTROL b/ports/boost-uninstall/CONTROL new file mode 100644 index 0000000000..8556583a3e --- /dev/null +++ b/ports/boost-uninstall/CONTROL @@ -0,0 +1,4 @@ +Source: boost-uninstall +Version: 1.73.0 +Homepage: https://boost.org +Description: boost uninstall port \ No newline at end of file diff --git a/ports/boost-uninstall/portfile.cmake b/ports/boost-uninstall/portfile.cmake new file mode 100644 index 0000000000..a06925e408 --- /dev/null +++ b/ports/boost-uninstall/portfile.cmake @@ -0,0 +1,4 @@ +set(VCPKG_POLICY_EMPTY_PACKAGE enabled) + +message(STATUS "\nPlease use the following command when you need to remove all boost ports/components:\n\ + \"./vcpkg remove boost-uninstall:${TARGET_TRIPLET} --recurse\"\n") diff --git a/ports/boost-vcpkg-helpers/CONTROL b/ports/boost-vcpkg-helpers/CONTROL index 9069917a2f..1b1642e174 100644 --- a/ports/boost-vcpkg-helpers/CONTROL +++ b/ports/boost-vcpkg-helpers/CONTROL @@ -1,3 +1,5 @@ Source: boost-vcpkg-helpers Version: 7 +Port-Version: 1 Description: a set of vcpkg-internal scripts used to modularize boost +Build-Depends: boost-uninstall \ No newline at end of file