aboutsummaryrefslogtreecommitdiff
path: root/ports/apr
diff options
context:
space:
mode:
Diffstat (limited to 'ports/apr')
-rw-r--r--ports/apr/CONTROL9
-rw-r--r--ports/apr/portfile.cmake3
-rw-r--r--ports/apr/vcpkg.json13
3 files changed, 15 insertions, 10 deletions
diff --git a/ports/apr/CONTROL b/ports/apr/CONTROL
deleted file mode 100644
index cf2c0079a..000000000
--- a/ports/apr/CONTROL
+++ /dev/null
@@ -1,9 +0,0 @@
-Source: apr
-Version: 1.7.0
-Port-Version: 3
-Homepage: https://apr.apache.org/
-Description: The Apache Portable Runtime (APR) is a C library that forms a system portability layer that covers many operating systems.
-Supports: !uwp
-
-Feature: private-headers
-Description: Install non-standard files required for building Apache httpd
diff --git a/ports/apr/portfile.cmake b/ports/apr/portfile.cmake
index de969c20f..3b9bed664 100644
--- a/ports/apr/portfile.cmake
+++ b/ports/apr/portfile.cmake
@@ -17,7 +17,8 @@ vcpkg_extract_source_archive_ex(
if (VCPKG_TARGET_IS_WINDOWS)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
- private-headers INSTALL_PRIVATE_H
+ FEATURES
+ private-headers INSTALL_PRIVATE_H
)
vcpkg_configure_cmake(
diff --git a/ports/apr/vcpkg.json b/ports/apr/vcpkg.json
new file mode 100644
index 000000000..91fb9c713
--- /dev/null
+++ b/ports/apr/vcpkg.json
@@ -0,0 +1,13 @@
+{
+ "name": "apr",
+ "version": "1.7.0",
+ "port-version": 4,
+ "description": "The Apache Portable Runtime (APR) is a C library that forms a system portability layer that covers many operating systems.",
+ "homepage": "https://apr.apache.org/",
+ "supports": "!uwp",
+ "features": {
+ "private-headers": {
+ "description": "Install non-standard files required for building Apache httpd"
+ }
+ }
+}