From 3e07192befd6ff3c3d34b7def51b97df986669e6 Mon Sep 17 00:00:00 2001 From: David Allsopp Date: Sat, 9 Mar 2024 12:49:32 +0000 Subject: [PATCH] Add depexts for pkgconf for MSYS2 Cygwin uses pkgconf --personality, but MSYS2 uses native builds. --- .../conf-mingw-w64-pkgconf-i686.1/opam | 14 ++++++++++++++ .../conf-mingw-w64-pkgconf-x86_64.1/opam | 14 ++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 packages/conf-mingw-w64-pkgconf-i686/conf-mingw-w64-pkgconf-i686.1/opam create mode 100644 packages/conf-mingw-w64-pkgconf-x86_64/conf-mingw-w64-pkgconf-x86_64.1/opam diff --git a/packages/conf-mingw-w64-pkgconf-i686/conf-mingw-w64-pkgconf-i686.1/opam b/packages/conf-mingw-w64-pkgconf-i686/conf-mingw-w64-pkgconf-i686.1/opam new file mode 100644 index 00000000000..70fadd66ecb --- /dev/null +++ b/packages/conf-mingw-w64-pkgconf-i686/conf-mingw-w64-pkgconf-i686.1/opam @@ -0,0 +1,14 @@ +opam-version: "2.0" +synopsis: "Virtual package for pkgconf on i686 mingw-w64 (32-bit x86)" +description: "Ensures the i686 version of pkgconf for the mingw-w64 project is available" +maintainer: "David Allsopp " +authors: "Ariadne Conill et al" +license: "ISC" +homepage: "http://pkgconf.org" +bug-reports: "https://github.com/ocaml/opam-repository/issues" +flags: conf +available: os = "win32" +build: ["i686-w64-mingw32-pkgconf" "--version"] +depexts: [ + ["mingw-w64-i686-pkgconf"] {os = "win32" & os-distribution = "msys2"} +] diff --git a/packages/conf-mingw-w64-pkgconf-x86_64/conf-mingw-w64-pkgconf-x86_64.1/opam b/packages/conf-mingw-w64-pkgconf-x86_64/conf-mingw-w64-pkgconf-x86_64.1/opam new file mode 100644 index 00000000000..97735c1cedb --- /dev/null +++ b/packages/conf-mingw-w64-pkgconf-x86_64/conf-mingw-w64-pkgconf-x86_64.1/opam @@ -0,0 +1,14 @@ +opam-version: "2.0" +synopsis: "Virtual package for pkgconf on x86_64 mingw-w64 (64-bit x86_64)" +description: "Ensures the x86_64 version of pkgconf for the mingw-w64 project is available" +maintainer: "David Allsopp " +authors: "Ariadne Conill et al" +license: "ISC" +homepage: "http://pkgconf.org" +bug-reports: "https://github.com/ocaml/opam-repository/issues" +flags: conf +available: os = "win32" +build: ["x86_64-w64-mingw32-pkgconf" "--version"] +depexts: [ + ["mingw-w64-x86_64-pkgconf"] {os = "win32" & os-distribution = "msys2"} +]