From 49f1d5ac3428072500280bb4cfc8263aff3d4b3a Mon Sep 17 00:00:00 2001 From: Kai Pastor Date: Sat, 24 Apr 2021 01:04:42 +0200 Subject: [PATCH] [pthreads] Make port empty on mingw (#17318) * Make pthreads an empty package for mingw * x-add-version --- ports/pthreads/portfile.cmake | 2 +- ports/pthreads/vcpkg.json | 2 +- versions/baseline.json | 2 +- versions/p-/pthreads.json | 5 +++++ 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ports/pthreads/portfile.cmake b/ports/pthreads/portfile.cmake index 52dc6c663f..47493940e6 100644 --- a/ports/pthreads/portfile.cmake +++ b/ports/pthreads/portfile.cmake @@ -1,4 +1,4 @@ -if(NOT VCPKG_TARGET_IS_WINDOWS) +if(NOT VCPKG_TARGET_IS_WINDOWS OR VCPKG_TARGET_IS_MINGW) set(VCPKG_POLICY_EMPTY_PACKAGE enabled) return() endif() diff --git a/ports/pthreads/vcpkg.json b/ports/pthreads/vcpkg.json index 3c5301d766..77b950b142 100644 --- a/ports/pthreads/vcpkg.json +++ b/ports/pthreads/vcpkg.json @@ -1,7 +1,7 @@ { "name": "pthreads", "version": "3.0.0", - "port-version": 8, + "port-version": 9, "description": "pthreads for windows", "homepage": "https://sourceware.org/pub/pthreads-win32/" } diff --git a/versions/baseline.json b/versions/baseline.json index 1db3d007b3..ae6131add4 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -4934,7 +4934,7 @@ }, "pthreads": { "baseline": "3.0.0", - "port-version": 8 + "port-version": 9 }, "pugixml": { "baseline": "1.11.4", diff --git a/versions/p-/pthreads.json b/versions/p-/pthreads.json index 0e84ad5cee..d80291862b 100644 --- a/versions/p-/pthreads.json +++ b/versions/p-/pthreads.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "f5b91f46526fb5abd97b07febd2563f3a3688769", + "version": "3.0.0", + "port-version": 9 + }, { "git-tree": "e03999fb593f35daefdea06f7c99af233f3a7f3d", "version": "3.0.0",