|
|
@@ -34,7 +34,7 @@ Class: PLUS
|
|
|
Group: Development
|
|
|
License: no restrictions
|
|
|
Version: 1.06
|
|
|
-Release: 20040207
|
|
|
+Release: 20041122
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://apollo.backplane.com/xmake/xmake-%{version}.tgz
|
|
|
@@ -43,7 +43,7 @@ Source0: http://apollo.backplane.com/xmake/xmake-%{version}.tgz
|
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20040130, make, gcc
|
|
|
-PreReq: OpenPKG, openpkg >= 20040130
|
|
|
+PreReq: OpenPKG, openpkg >= 20040130, gcc
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
|
|
|
@@ -62,6 +62,9 @@ AutoReqProv: no
|
|
|
|
|
|
%prep
|
|
|
%setup -q -n xmake
|
|
|
+ %{l_shtool} subst \
|
|
|
+ -e 's;^\(#define[ ]*CPPCMD[ ]\).*$;\1 "%{l_cc} -E -DXMAKE -nostdinc " INCLS " -x c";' \
|
|
|
+ defs.h
|
|
|
|
|
|
%build
|
|
|
%{l_make} %{l_mflags -O} \
|