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

Jan Steffens heftig at archlinux.org
Wed Dec 8 09:07:18 UTC 2010


    Date: Wednesday, December 8, 2010 @ 04:07:17
  Author: heftig
Revision: 102555

simplify sed

Modified:
  mesa/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-12-08 07:15:16 UTC (rev 102554)
+++ PKGBUILD	2010-12-08 09:07:17 UTC (rev 102555)
@@ -30,10 +30,8 @@
   # python2 build fixes
   sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
          -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" $(find $srcdir -name '*.py')
-#  sed -i -e "s|PYTHON2 = python|PYTHON2 = python2|" "${srcdir}/Mesa-${pkgver}"/configs/{default,autoconf.in}
-  sed -i -e "s|PYTHON2 = python|PYTHON2 = python2|" ${srcdir}/mesa-*/configs/{default,autoconf.in}
-#  sed -i -e "s|python|python2|" "${srcdir}/Mesa-${pkgver}"/src/gallium/auxiliary/Makefile
-  sed -i -e "s|python|python2|" ${srcdir}/mesa-*/src/gallium/auxiliary/Makefile
+  sed -i -e "s|PYTHON2 = python|PYTHON2 = python2|" configs/{default,autoconf.in}
+  sed -i -e "s|python|python2|" src/gallium/auxiliary/Makefile
 
 #  ./configure --prefix=/usr \
   ./autogen.sh --prefix=/usr \




More information about the arch-commits mailing list