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

Eric Bélanger eric at archlinux.org
Sat Nov 7 17:52:39 EST 2009


    Date: Saturday, November 7, 2009 @ 17:52:39
  Author: eric
Revision: 58440

upgpkg: liquidwar 5.6.4-3
    fixed build problem on i686

Modified:
  liquidwar/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-11-07 22:50:13 UTC (rev 58439)
+++ PKGBUILD	2009-11-07 22:52:39 UTC (rev 58440)
@@ -19,9 +19,9 @@
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"
-
   [ "$CARCH" == "x86_64" ] && EXTRAOPTS="--disable-asm"
-   ./configure --prefix=/usr --disable-doc-ps --disable-doc-pdf --disable-doc-php3 $EXTRAOPTS || return 1
+  ./configure --prefix=/usr --disable-doc-ps --disable-doc-pdf --disable-doc-php3 $EXTRAOPTS || return 1
+  sed -i 's|$(EXTERN_LIBS)|$(EXTERN_LIBS) -lm|' src/Makefile || return 1
   make GAMEDIR=/usr/bin DATADIR=/usr/share/$pkgname || return 1
   make DESTDIR="$pkgdir" DATADIR=/usr/share/$pkgname install || return 1
   mv "$pkgdir"/usr/games/* "$pkgdir/usr/bin/"



More information about the arch-commits mailing list