|
@@ -37,7 +37,7 @@ Distribution: OpenPKG [PLUS]
|
|
|
Group: Algorithm
|
|
Group: Algorithm
|
|
|
License: GPL
|
|
License: GPL
|
|
|
Version: %{V_major}.%{V_minor}
|
|
Version: %{V_major}.%{V_minor}
|
|
|
-Release: 20030409
|
|
|
|
|
|
|
+Release: 20030626
|
|
|
|
|
|
|
|
# list of sources
|
|
# list of sources
|
|
|
Source0: ftp://www.gn-50uma.de/gn/gn-50uma.de/pari-%{V_major}/pari-%{version}.tar.gz
|
|
Source0: ftp://www.gn-50uma.de/gn/gn-50uma.de/pari-%{V_major}/pari-%{version}.tar.gz
|
|
@@ -60,7 +60,10 @@ AutoReqProv: no
|
|
|
|
|
|
|
|
%prep
|
|
%prep
|
|
|
%setup -q
|
|
%setup -q
|
|
|
- %{l_shtool} subst -e 's;-O3;-O2;g' Configure
|
|
|
|
|
|
|
+ %{l_shtool} subst \
|
|
|
|
|
+ -e 's;-O3;-O2;g' \
|
|
|
|
|
+ -e 's;-D__GNUC__;;g' \
|
|
|
|
|
+ Configure
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
|
CC="%{l_cc}" \
|
|
CC="%{l_cc}" \
|
|
@@ -69,6 +72,8 @@ AutoReqProv: no
|
|
|
--prefix=%{l_prefix} \
|
|
--prefix=%{l_prefix} \
|
|
|
--datadir=%{l_prefix}/share/pari/galdata \
|
|
--datadir=%{l_prefix}/share/pari/galdata \
|
|
|
--miscdir=%{l_prefix}/share/pari \
|
|
--miscdir=%{l_prefix}/share/pari \
|
|
|
|
|
+ # FIXME - doesn't take advantage of asm kernel
|
|
|
|
|
+ --host=none \
|
|
|
--graphic=none \
|
|
--graphic=none \
|
|
|
--static
|
|
--static
|
|
|
%{l_make} %{l_mflags -O} gp
|
|
%{l_make} %{l_mflags -O} gp
|