From abce27382c1c6d4f5d78545e4bafc9abd283891e Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Fri, 19 Feb 2010 04:27:45 +0000 Subject: [PATCH] [packages] libast: Dont' add host lib and include dirs. SVN-Revision: 19732 --- .../patches/010-dont-add-host-paths.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Xorg/lib/libast/patches/010-dont-add-host-paths.patch 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 index 0000000000..343a196e97 --- /dev/null +++ b/Xorg/lib/libast/patches/010-dont-add-host-paths.patch @@ -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" + -- 2.30.2