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

Jan de Groot jgc at archlinux.org
Mon Nov 3 08:28:11 UTC 2008


    Date: Monday, November 3, 2008 @ 03:28:10
  Author: jgc
Revision: 18122

Fix build on x86_64.

Modified:
  qemu/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-11-03 07:37:22 UTC (rev 18121)
+++ PKGBUILD	2008-11-03 08:28:10 UTC (rev 18122)
@@ -22,14 +22,14 @@
   cd ${srcdir}/${pkgname}-${pkgver}
   unset CFLAGS
   if [ "${CARCH}" = "x86_64" ]; then
-     # any "xxx-user" target seems to not build on x86_64
+	sed -i -e 's/lib64/lib/g' x86_64.ld || return 1
+        # any "xxx-user" target seems to not build on x86_64
          ./configure --prefix=/usr --enable-alsa \
                      --target-list="i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu arm-softmmu mips-softmmu"
   else 
          ./configure --prefix=/usr --enable-alsa
   fi
   # fix sdl compilation
-  sed -i -e 's#-rpath,/usr/lib#-rpath,/usr/lib,-rpath,/lib#g' config-host.mak
 
   make || return 1
   make DESTDIR=${startdir}/pkg install || return 1




More information about the arch-commits mailing list