aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorpastdue <30942300+past-due@users.noreply.github.com>2021-02-02 17:37:29 -0500
committerGitHub <noreply@github.com>2021-02-02 14:37:29 -0800
commit4ef16cd07edc4cc9570d543a4eb09c51006588ab (patch)
tree5aee0a7d53de6fc3b8468a14482e08aa22262e74 /ports
parentbbcf31b05c6a77d296b0ef28f9613072b57805af (diff)
downloadvcpkg-4ef16cd07edc4cc9570d543a4eb09c51006588ab.tar.gz
vcpkg-4ef16cd07edc4cc9570d543a4eb09c51006588ab.zip
[libidn2] Fix cross-compile (non-Windows) (#15868)
* [libidn2] Fix cross-compile (non-Windows) * Convert CONTROL, bump port-version * x-add-version libidn2
Diffstat (limited to 'ports')
-rw-r--r--ports/libidn2/CONTROL6
-rw-r--r--ports/libidn2/portfile.cmake1
-rw-r--r--ports/libidn2/vcpkg.json10
3 files changed, 11 insertions, 6 deletions
diff --git a/ports/libidn2/CONTROL b/ports/libidn2/CONTROL
deleted file mode 100644
index fb29df032..000000000
--- a/ports/libidn2/CONTROL
+++ /dev/null
@@ -1,6 +0,0 @@
-Source: libidn2
-Version: 2.3.0
-Port-Version: 1
-Build-Depends: libiconv
-Homepage: https://www.gnu.org/software/libidn/
-Description: GNU Libidn is an implementation of the Stringprep, Punycode and IDNA 2003 specifications. Libidn's purpose is to encode and decode internationalized domain names.
diff --git a/ports/libidn2/portfile.cmake b/ports/libidn2/portfile.cmake
index 7c3054b1c..9509d6675 100644
--- a/ports/libidn2/portfile.cmake
+++ b/ports/libidn2/portfile.cmake
@@ -50,6 +50,7 @@ if (VCPKG_TARGET_IS_WINDOWS)
else()
vcpkg_configure_make(
SOURCE_PATH ${SOURCE_PATH}
+ AUTOCONFIG
COPY_SOURCE
OPTIONS
--with-libiconv-prefix=${CURRENT_INSTALLED_DIR}
diff --git a/ports/libidn2/vcpkg.json b/ports/libidn2/vcpkg.json
new file mode 100644
index 000000000..5b5a6b639
--- /dev/null
+++ b/ports/libidn2/vcpkg.json
@@ -0,0 +1,10 @@
+{
+ "name": "libidn2",
+ "version-string": "2.3.0",
+ "port-version": 2,
+ "description": "GNU Libidn is an implementation of the Stringprep, Punycode and IDNA 2003 specifications. Libidn's purpose is to encode and decode internationalized domain names.",
+ "homepage": "https://www.gnu.org/software/libidn/",
+ "dependencies": [
+ "libiconv"
+ ]
+}