Skip to content

Commit

Permalink
[ncurses] Add compiler option "enable-mixed-case" to supports mixed c…
Browse files Browse the repository at this point in the history
…ase file names (#28312)

* [ncurses] Add compiler option "enable-mixed-case" to supports mixed case file names

* add version

* support mingw

* version

* not mingw

* version
  • Loading branch information
FrankXie05 committed Jan 4, 2023
1 parent b10c0ba commit 0d239eb
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
7 changes: 7 additions & 0 deletions ports/ncurses/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
--without-normal
)
endif()

if(NOT VCPKG_TARGET_IS_MINGW)
list(APPEND OPTIONS
--enable-mixed-case
)
endif()

if(VCPKG_TARGET_IS_MINGW)
list(APPEND OPTIONS
--disable-home-terminfo
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": 3,
"port-version": 4,
"description": "Free software emulation of curses in System V Release 4.0, and more",
"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 @@ -5222,7 +5222,7 @@
},
"ncurses": {
"baseline": "6.3",
"port-version": 3
"port-version": 4
},
"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": "83eac97c40a368314b01639191657529194d8bdc",
"version": "6.3",
"port-version": 4
},
{
"git-tree": "3c178c66e9a39b757a4fd10782bbd32165ef2b0e",
"version": "6.3",
Expand Down

0 comments on commit 0d239eb

Please sign in to comment.