summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Wulf C. Krueger <philantrop@exherbo.org> 2015-05-06 11:42:44 +0200
committerAvatar Wulf C. Krueger <philantrop@exherbo.org> 2015-05-06 12:28:18 +0200
commitedd906dee7a5f57072494f3bcff07b301172e885 (patch)
tree9d0e00639900f4f96f1942b0f773bb754f845d06
parenta0a82df77623c2802d5520aae85aada1e014f928 (diff)
downloadmono-edd906dee7a5f57072494f3bcff07b301172e885.tar.gz
mono-edd906dee7a5f57072494f3bcff07b301172e885.tar.xz
gtk-sharp-2.99.3: cross adjustments
-rw-r--r--packages/gnome-bindings/gtk-sharp/gtk-sharp-2.99.3.exheres-026
1 files changed, 17 insertions, 9 deletions
diff --git a/packages/gnome-bindings/gtk-sharp/gtk-sharp-2.99.3.exheres-0 b/packages/gnome-bindings/gtk-sharp/gtk-sharp-2.99.3.exheres-0
index aab5819..bec21d5 100644
--- a/packages/gnome-bindings/gtk-sharp/gtk-sharp-2.99.3.exheres-0
+++ b/packages/gnome-bindings/gtk-sharp/gtk-sharp-2.99.3.exheres-0
@@ -26,21 +26,29 @@ DEPENDENCIES="
src_prepare() {
default
- # set proper ${LIBDIR} everywhere
+ edo sed -i -e "s:pkg-config:$(exhost --tool-prefix)&:g" configure.ac
+
+ # set proper libdir everywhere
edo sed \
- -e "s:\(prefix[)}@]\?/\)lib:\1${LIBDIR}:g" \
+ -e "s:\(prefix[)}@]\?/\)lib:\1lib:g" \
-i configure.ac \
-i doc/Makefile.am \
-i parser/Makefile.am \
- -i gdk/gdk-sharp-3.0.pc.in \
+ -i parser/gapi3-parser.in \
-i generator/Makefile.am \
-i generator/gapi3-codegen.in \
- -i generator/gapi3-fixup.in \
- -i gio/gio-sharp-3.0.pc.in \
- -i glib/glib-sharp-3.0.pc.in \
- -i gtk/gtk-sharp-3.0.pc.in \
- -i gtkdotnet/gtk-dotnet-3.0.pc.in \
- -i parser/gapi3-parser.in
+ -i generator/gapi3-fixup.in
+
+ edo sed \
+ -e "/^prefix/s:=.*:=/usr:" \
+ -e "/^exec_prefix/s:=.*:=/usr/$(exhost --target):" \
+ -i gdk/gdk-sharp-3.0.pc.in \
+ -i gio/gio-sharp-3.0.pc.in \
+ -i parser/gapi-3.0.pc.in \
+ -i gtk/gtk-sharp-3.0.pc.in \
+ -i glib/glib-sharp-3.0.pc.in \
+ -i gtkdotnet/gtk-dotnet-3.0.pc.in
+
eautoreconf
}