|
|
@@ -33,7 +33,7 @@ Distribution: OpenPKG [EVAL]
|
|
|
Group: System
|
|
|
License: MIT-style
|
|
|
Version: 3.9
|
|
|
-Release: 20030525
|
|
|
+Release: 20030702
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://www.gentoo.com/di/di-%{version}.tar.gz
|
|
|
@@ -41,7 +41,7 @@ Source0: http://www.gentoo.com/di/di-%{version}.tar.gz
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 20020206
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 20020206, gcc
|
|
|
PreReq: OpenPKG, openpkg >= 20020206
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
@@ -56,7 +56,8 @@ AutoReqProv: no
|
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
|
- CC="%{l_cc}" \
|
|
|
+ # start compiler as 'gcc' to hint the configure script
|
|
|
+ CC="%{l_prefix}/bin/gcc" \
|
|
|
CFLAGS="%{l_cflags}" \
|
|
|
./configure \
|
|
|
--prefix=%{l_prefix}
|