[arch-commits] Commit in soundtouch/trunk (PKGBUILD)
    Jan de Groot 
    jgc at archlinux.org
       
    Sat Nov  7 00:08:26 UTC 2009
    
    
  
    Date: Friday, November 6, 2009 @ 19:08:26
  Author: jgc
Revision: 58313
upgpkg: soundtouch 1.4.0-1
    Really fix PIC issues now
Modified:
  soundtouch/trunk/PKGBUILD
----------+
 PKGBUILD |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-11-07 00:07:43 UTC (rev 58312)
+++ PKGBUILD	2009-11-07 00:08:26 UTC (rev 58313)
@@ -24,9 +24,10 @@
   patch -Np1 -i "${srcdir}/soundtouch-1.4.0-mmx-sse-compile-fix.patch" || return 1
   patch -Np1 -i "${srcdir}/soundtouch-1.4.0-x86_64-asm-broken.patch" || return 1
   if [ "${CARCH}" = "x86_64" ]; then
-    CFLAGS="${CFLAGS} -fPIC"
+    ./configure --prefix=/usr --with-pic || return 1
+  else
+    ./configure --prefix=/usr || return 1
   fi
-  ./configure --prefix=/usr || return 1
   make || return 1
   make DESTDIR="${pkgdir}" pkgdocdir=/usr/share/doc/soundtouch install || return 1
 }
    
    
More information about the arch-commits
mailing list