summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Wulf C. Krueger <philantrop@exherbo.org> 2015-05-06 12:24:28 +0200
committerAvatar Wulf C. Krueger <philantrop@exherbo.org> 2015-05-06 12:28:28 +0200
commit5e78ec67bb52fa2ec86868a44f9450e1111437e2 (patch)
treedc418db521c42f5141a2938da5685fdd9108cb1b
parentedd906dee7a5f57072494f3bcff07b301172e885 (diff)
downloadmono-5e78ec67bb52fa2ec86868a44f9450e1111437e2.tar.gz
mono-5e78ec67bb52fa2ec86868a44f9450e1111437e2.tar.xz
gtk-sharp-2.12.10: cross adjustments
-rw-r--r--packages/gnome-bindings/gtk-sharp/gtk-sharp-2.12.10.exheres-016
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/gnome-bindings/gtk-sharp/gtk-sharp-2.12.10.exheres-0 b/packages/gnome-bindings/gtk-sharp/gtk-sharp-2.12.10.exheres-0
index ff7cc54..f616a16 100644
--- a/packages/gnome-bindings/gtk-sharp/gtk-sharp-2.12.10.exheres-0
+++ b/packages/gnome-bindings/gtk-sharp/gtk-sharp-2.12.10.exheres-0
@@ -26,3 +26,19 @@ DEPENDENCIES="
DEFAULT_SRC_PREPARE_PATCHES=( "${FILES}/${PNV}-fix-glib_h-includes.patch"
"${FILES}/${PNV}-fix-libdir.patch" )
+src_prepare() {
+ default
+
+ edo sed -i -e "s:pkg-config:$(exhost --tool-prefix)&:g" configure.in
+ edo sed \
+ -e "/^prefix/s:=.*:=/usr:" \
+ -e "/^exec_prefix/s:=.*:=/usr/$(exhost --target):" \
+ -i parser/gapi-2.0.pc.in \
+ -i gtk/gtk-sharp-2.0.pc.in \
+ -i glade/glade-sharp-2.0.pc.in \
+ -i glib/glib-sharp-2.0.pc.in \
+ -i gtkdotnet/gtk-dotnet-2.0.pc.in
+
+ eautoreconf
+}
+