aboutsummaryrefslogtreecommitdiffstats
path: root/community/wxgtk/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/wxgtk/APKBUILD')
-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/