Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gmp5.git;a=commitdiff;h=7c43aa837a229213e4fa10e3a6677a8a4e5b7fc2

commit 7c43aa837a229213e4fa10e3a6677a8a4e5b7fc2
Author: Elentir <elen...@frugalware.org>
Date:   Fri Feb 11 18:09:35 2011 +0100

ghc-7.0.1-4-i686

* add hack for gmp 5

diff --git a/source/devel-extra/ghc/FrugalBuild 
b/source/devel-extra/ghc/FrugalBuild
index ca9e55b..03cd6fb 100644
--- a/source/devel-extra/ghc/FrugalBuild
+++ b/source/devel-extra/ghc/FrugalBuild
@@ -31,6 +31,10 @@ build()
mv ghc-$pkgver ghc-$pkgver-binary || return 1
cd ghc-$pkgver-binary

+       # hack for gmp 5
+       ln -s /usr/lib/libgmp.so.10 libgmp.so.3
+       export LD_LIBRARY_PATH=$(pwd):$LD_LIBRARY_PATH
+
./configure --prefix=$Fsrcdir/binary || return 1
make install || return 1
export PATH=$Fsrcdir/binary/bin:$PATH
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to