logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: 3b2e3ae215c744157ce45ce847d8dc54eca40687
parent c529bdb9f9b475bcf10aa0e9c32a188e1e29abca
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon, 21 Feb 2022 04:25:48 +0100

x11-libs/wxGTK: fix build on non-X11

Diffstat:

Mx11-libs/wxGTK/wxGTK-3.1.5.ebuild7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/x11-libs/wxGTK/wxGTK-3.1.5.ebuild b/x11-libs/wxGTK/wxGTK-3.1.5.ebuild @@ -53,7 +53,10 @@ BDEPEND=" src_prepare() { default - use X || sed -i 's;-lGL\b;-lOpenGL;' configure || die + use X || sed -i \ + -e 's;-lGL\b;-lOpenGL;' \ + -e 's;-lX11;;g' \ + configure || die } multilib_src_configure() { @@ -108,7 +111,7 @@ multilib_src_install_all() { pushd "${ED}"/usr/share/bakefile/presets >/dev/null || die local f for f in wx*; do - mv "${f}" "${f/wx/wx30gtk3}" || die + mv "${f}" "${f/wx/wx31}" || die done popd >/dev/null || die }