diff --git a/ports/docopt/portfile.cmake b/ports/docopt/portfile.cmake index 6014c1e16a..2f80d5d6b6 100644 --- a/ports/docopt/portfile.cmake +++ b/ports/docopt/portfile.cmake @@ -23,7 +23,7 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic) file(READ "${CURRENT_PACKAGES_DIR}/include/docopt/docopt.h" _contents) - string(REPLACE "#ifdef DOCOPT_DLL" "#if 1" _contents "${_contents}") + string(REPLACE "#ifdef DOCOPT_DLL" "#ifdef _WIN32" _contents "${_contents}") file(WRITE "${CURRENT_PACKAGES_DIR}/include/docopt/docopt.h" "${_contents}") endif() diff --git a/ports/docopt/vcpkg.json b/ports/docopt/vcpkg.json index ccb17d71ea..8cf0a4fcfe 100644 --- a/ports/docopt/vcpkg.json +++ b/ports/docopt/vcpkg.json @@ -1,6 +1,7 @@ { "name": "docopt", "version-date": "2022-03-15", + "port-version": 1, "description": "Command line arguments parser that will make you smile (C++11 port).", "license": "MIT OR BSL-1.0", "dependencies": [ diff --git a/versions/baseline.json b/versions/baseline.json index 44f847d148..57ae2759fa 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2302,7 +2302,7 @@ }, "docopt": { "baseline": "2022-03-15", - "port-version": 0 + "port-version": 1 }, "doctest": { "baseline": "2.4.11", diff --git a/versions/d-/docopt.json b/versions/d-/docopt.json index 50a3a7c7f4..e4536636df 100644 --- a/versions/d-/docopt.json +++ b/versions/d-/docopt.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "9b5aa0bd1e02e5c3a66e56b084c951069a591151", + "version-date": "2022-03-15", + "port-version": 1 + }, { "git-tree": "98cead1c88cad77bef9acf4571d6bd8a2a06cf3a", "version-date": "2022-03-15",