libast: Dont' add host lib and include dirs.
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 19 Feb 2010 04:27:45 +0000 (04:27 +0000)
committerLars-Peter Clausen <lars@metafoo.de>
Fri, 19 Feb 2010 04:27:45 +0000 (04:27 +0000)
SVN-Revision: 19732

Xorg/lib/libast/patches/010-dont-add-host-paths.patch [new file with mode: 0644]

diff --git a/Xorg/lib/libast/patches/010-dont-add-host-paths.patch b/Xorg/lib/libast/patches/010-dont-add-host-paths.patch
new file mode 100644 (file)
index 0000000..343a196
--- /dev/null
@@ -0,0 +1,17 @@
+diff --git a/configure b/configure
+index 713e65e..9879341 100755
+--- a/configure
++++ b/configure
+@@ -27152,10 +27152,10 @@ fi;
+-    CPPFLAGS=`eval eval eval eval eval echo "-I$includedir -I$prefix/include $CPPFLAGS"`
++    CPPFLAGS=`eval eval eval eval eval echo "$CPPFLAGS"`
+     CPPFLAGS=`echo $CPPFLAGS | tr ' ' '\n' | uniq | grep -v NONE | tr '\n' ' '`
+     CFLAGS=${CFLAGS--O}
+-    LDFLAGS=`eval eval eval eval eval echo "-L$libdir -L$prefix/lib ${LDFLAGS--O}"`
++    LDFLAGS=`eval eval eval eval eval echo "${LDFLAGS--O}"`
+     LDFLAGS=`echo $LDFLAGS | tr ' ' '\n' | uniq | grep -v NONE | tr '\n' ' '`
+     LIBS="$GRLIBS $X_PRE_LIBS $LIBS $X_EXTRA_LIBS"