[arch-commits] Commit in python/trunk (PKGBUILD)

Stéphane Gaudreault stephane at archlinux.org
Wed Dec 1 12:46:54 UTC 2010


    Date: Wednesday, December 1, 2010 @ 07:46:53
  Author: stephane
Revision: 101741

upgpkg: python 3.1.3-1
Do not overriding CPPFLAGS

Modified:
  python/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-12-01 12:22:05 UTC (rev 101740)
+++ PKGBUILD	2010-12-01 12:46:53 UTC (rev 101741)
@@ -32,7 +32,7 @@
   rm -r Modules/_ctypes/{darwin,libffi}*
 
   export OPT="${CFLAGS}"
-  export CPPFLAGS="`pkg-config --cflags-only-I libffi`"
+  export CPPFLAGS+="`pkg-config --cflags-only-I libffi`"
   ./configure --prefix=/usr \
               --enable-shared \
               --with-threads \
@@ -44,7 +44,7 @@
   make
 
   # Run the upstream test suite
-  LD_LIBRARY_PATH=${srcdir}/Python-${pkgver}:build/lib.linux-*-${_pybasever} PYTHON=./python \
+  LD_LIBRARY_PATH=${srcdir}/Python-${pkgver}:${LD_LIBRARY_PATH} PYTHON=./python \
      ./runtests.sh -x test_distutils
   for testname in $(cat BAD); do
      echo "== ${testname} =="




More information about the arch-commits mailing list