OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 16-Oct-2005 09:44:08 Branch: HEAD Handle: 2005101608440800 Modified files: openpkg-src/gmp gmp.spec Log: ok, resurrect old sparc hack and add another even larger one to get it finally into shape on sparc (it already builded but symbols were missing) Summary: Revision Changes Path 1.33 +7 -3 openpkg-src/gmp/gmp.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/gmp/gmp.spec ============================================================================ $ cvs diff -u -r1.32 -r1.33 gmp.spec --- openpkg-src/gmp/gmp.spec 14 Oct 2005 06:39:04 -0000 1.32 +++ openpkg-src/gmp/gmp.spec 16 Oct 2005 07:44:08 -0000 1.33 @@ -33,7 +33,7 @@ Group: Algorithm License: LGPL Version: 4.1.4 -Release: 20051014 +Release: 20051016 # list of sources Source0: ftp://ftp.gnu.org/gnu/gmp/gmp-%{version}.tar.gz @@ -68,10 +68,14 @@ %prep %setup -q %patch -p0 + rm -rf mpn/sparc* %build - CC="%{l_cc}" \ - CFLAGS="%{l_cflags -O}" \ + export CC="%{l_cc}" + export CFLAGS="%{l_cflags -O}" + case "%{l_platform -p}" in + sparc*-* ) CFLAGS="$CFLAGS -DNO_ASM" ;; + esac ./configure \ --prefix=%{l_prefix} \ --disable-shared @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org