diff options
Diffstat (limited to 'ports/oniguruma')
| -rw-r--r-- | ports/oniguruma/CONTROL | 2 | ||||
| -rw-r--r-- | ports/oniguruma/portfile.cmake | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ports/oniguruma/CONTROL b/ports/oniguruma/CONTROL index 7eb4e6173..768083b4e 100644 --- a/ports/oniguruma/CONTROL +++ b/ports/oniguruma/CONTROL @@ -1,5 +1,5 @@ Source: oniguruma
-Version: 6.9.2-1
+Version: 6.9.2-2
Description: Modern and flexible regular expressions library
Homepage: https://github.com/kkos/oniguruma
diff --git a/ports/oniguruma/portfile.cmake b/ports/oniguruma/portfile.cmake index 28f489926..586bfbe07 100644 --- a/ports/oniguruma/portfile.cmake +++ b/ports/oniguruma/portfile.cmake @@ -8,7 +8,11 @@ vcpkg_from_github( HEAD_REF master
)
-vcpkg_check_features(non-posix ENABLE_POSIX_API)
+if("non-posix" IN_LIST FEATURES)
+ set(ENABLE_POSIX_API OFF)
+else()
+ set(ENABLE_POSIX_API ON)
+endif()
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
|
