From 9202ede9634c63ea9712f5c914061f0d31027703 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Fri, 27 Oct 2023 17:02:11 -0400 Subject: [PATCH] fix(epoxy)[1] https://github.com/pkgxdev/pantry/pull/3493#issuecomment-1783499173 --- projects/github.com/anholt/libepoxy/package.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/projects/github.com/anholt/libepoxy/package.yml b/projects/github.com/anholt/libepoxy/package.yml index 96ef3dda..696a4e7d 100644 --- a/projects/github.com/anholt/libepoxy/package.yml +++ b/projects/github.com/anholt/libepoxy/package.yml @@ -28,6 +28,12 @@ build: rmdir epoxy ln -s . epoxy working-directory: ${{prefix}}/include + # this seems to mess up pkg-config detection on darwin. + - run: | + sed -i.bak "s|Requires.private: x11, |Requires.private: x11|g" epoxy.pc + rm -f epoxy.pc.bak + working-directory: "{{prefix}}/lib/pkgconfig" + if: darwin env: ARGS: - --prefix="{{prefix}}"