Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ncurses] Add file(MAKE_DIRECTORY) to create the missing directories #26690

Merged
merged 2 commits into from
Sep 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions ports/ncurses/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ vcpkg_download_distfile(
SHA512 5373f228cba6b7869210384a607a2d7faecfcbfef6dbfcd7c513f4e84fbd8bcad53ac7db2e7e84b95582248c1039dcfc7c4db205a618f7da22a166db482f0105
)

vcpkg_extract_source_archive_ex(
OUT_SOURCE_PATH SOURCE_PATH
vcpkg_extract_source_archive(
SOURCE_PATH
ARCHIVE "${ARCHIVE_PATH}"
)

Expand Down Expand Up @@ -38,6 +38,9 @@ if(VCPKG_TARGET_IS_MINGW)
)
endif()

file(MAKE_DIRECTORY "${CURRENT_INSTALLED_DIR}/debug/lib/pkgconfig")
file(MAKE_DIRECTORY "${CURRENT_INSTALLED_DIR}/lib/pkgconfig")

set(OPTIONS_DEBUG
"--with-pkg-config-libdir=${CURRENT_INSTALLED_DIR}/debug/lib/pkgconfig"
--with-debug
Expand All @@ -50,7 +53,7 @@ set(OPTIONS_RELEASE
)

vcpkg_configure_make(
SOURCE_PATH ${SOURCE_PATH}
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS ${OPTIONS}
OPTIONS_DEBUG ${OPTIONS_DEBUG}
OPTIONS_RELEASE ${OPTIONS_RELEASE}
Expand Down
2 changes: 1 addition & 1 deletion ports/ncurses/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ncurses",
"version": "6.3",
"port-version": 1,
"port-version": 2,
"description": "free software emulation of curses in System V Release 4.0",
"homepage": "https://invisible-island.net/ncurses/announce.html",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4958,7 +4958,7 @@
},
"ncurses": {
"baseline": "6.3",
"port-version": 1
"port-version": 2
},
"neargye-semver": {
"baseline": "0.3.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/n-/ncurses.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "f61c866b4032d902b9c31cec60a4418615ae921b",
"version": "6.3",
"port-version": 2
},
{
"git-tree": "ea7aecbf38cef7f64f929c679d55812e679ca496",
"version": "6.3",
Expand Down