aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstf <7o5rfu92t@ctrlc.hu>2019-10-17 21:28:48 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2019-10-19 15:40:59 +0000
commitd0aaea9769273b9613b1052262b0950251eee66b (patch)
treebcbfa4474acac366c53ed36bb10cba596e017a43
parent29b127feb49c762bf2b8d0a0d65c118e39b8a1df (diff)
downloadaports-d0aaea9769273b9613b1052262b0950251eee66b.tar.bz2
aports-d0aaea9769273b9613b1052262b0950251eee66b.tar.xz
community/wxgtk: fix bad pkgconf include path
Closes GH-11925
-rw-r--r--community/wxgtk/APKBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/community/wxgtk/APKBUILD b/community/wxgtk/APKBUILD
index dbf1d923ed..854534fb06 100644
--- a/community/wxgtk/APKBUILD
+++ b/community/wxgtk/APKBUILD
@@ -69,7 +69,10 @@ dev() {
default_dev
mkdir -p "$subpkgdir"/usr/lib/wx/config
- mv "$pkgdir"/usr/lib/wx/config/gtk2-unicode-3.0 "$subpkgdir"/usr/lib/wx/config
+
+ sed 's,_include_cppflags="-I${includedir}/wx-3.0",_include_cppflags="-I${includedir}/",' "$pkgdir"/usr/lib/wx/config/gtk2-unicode-3.0 >"$subpkgdir"/usr/lib/wx/config/gtk2-unicode-3.0
+ rm "$pkgdir"/usr/lib/wx/config/gtk2-unicode-3.0
+
mkdir -p "$subpkgdir"/usr/bin
cd "$subpkgdir"/usr/bin/
@@ -106,7 +109,9 @@ _dev3() {
default_dev
mkdir -p "$subpkgdir"/usr/lib/wx/config
- mv "$pkgdir"/usr/lib/wx/config/gtk3-unicode-3.0 "$subpkgdir"/usr/lib/wx/config
+
+ sed 's,_include_cppflags="-I${includedir}/wx-3.0",_include_cppflags="-I${includedir}/",' "$pkgdir"/usr/lib/wx/config/gtk3-unicode-3.0 >"$subpkgdir"/usr/lib/wx/config/gtk3-unicode-3.0
+ rm "$pkgdir"/usr/lib/wx/config/gtk3-unicode-3.0
mkdir -p "$subpkgdir"/usr/bin
cd "$subpkgdir"/usr/bin/