|
|
@@ -33,7 +33,7 @@ Distribution: OpenPKG [PLUS]
|
|
|
Group: Editor
|
|
|
License: BSD
|
|
|
Version: 0.1.4c
|
|
|
-Release: 20020405
|
|
|
+Release: 20030718
|
|
|
|
|
|
# list of sources
|
|
|
Source0: ftp://ftp.netsw.org/system/tools/fileutils/edit/hexer-%{version}.tar.gz
|
|
|
@@ -42,8 +42,8 @@ Patch0: hexer.patch
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 20020206
|
|
|
-PreReq: OpenPKG, openpkg >= 20020206
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 20030717
|
|
|
+PreReq: OpenPKG, openpkg >= 20030717
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
|
|
|
@@ -61,7 +61,10 @@ AutoReqProv: no
|
|
|
*-linux* ) ext=linux ;;
|
|
|
*-solaris* ) ext=sunos ;;
|
|
|
esac
|
|
|
- cp config.$ext config.h
|
|
|
+ # always rely on ISO C compilers
|
|
|
+ %{l_shtool} install \
|
|
|
+ -e 's;\(USE_STDARG\).*;\1 1;' \
|
|
|
+ config.$ext config.h
|
|
|
%{l_make} %{l_mflags} CC="%{l_cc}" CFLAGS="%{l_cflags -O} \$(DEFINES)"
|
|
|
|
|
|
%install
|