aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/cairo/files/dolt-fix.patch
blob: 16aff3463aaf798563b6d0ded93214ea279515db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- cairo-1.8.8/build/aclocal.dolt.m4.orig	2008-12-12 07:48:04.000000000 -0500
+++ cairo-1.8.8/build/aclocal.dolt.m4	2009-10-22 14:36:17.000000000 -0400
@@ -147,7 +147,7 @@
     cat <<__DOLTLIBTOOL__EOF__ > doltlibtool
 #!$DOLT_BASH
 __DOLTLIBTOOL__EOF__
-    cat <<'__DOLTLIBTOOL__EOF__' >>doltlibtool
+    cat <<'__DOLTLIBTOOL__EOF__' | sed -e "s/@host_alias@/$host_alias/g" >>doltlibtool
 top_builddir_slash="${0%%doltlibtool}"
 : ${top_builddir_slash:=./}
 args=()
@@ -163,7 +163,7 @@
 if $modeok && $tagok ; then
     . ${top_builddir_slash}doltcompile "${args@<:@@@:>@}"
 else
-    exec ${top_builddir_slash}libtool "$[]@"
+    exec ${top_builddir_slash}@host_alias@-libtool "$[]@"
 fi
 __DOLTLIBTOOL__EOF__