Browse Source

requires gcc and make sure the included GNU getopt_long is used, because there are platforms like FreeBSD 5.x which have getopt_long(), but which isn't GNU getopt_long()

master
parent
commit
33742c2f6d
  1. 6
      ifile/ifile.spec

6
ifile/ifile.spec

@ -33,7 +33,7 @@ Distribution: OpenPKG [EVAL]
Group: Mail
License: GPL
Version: 1.3.3
Release: 20030728
Release: 20030811
# list of sources
Source0: http://savannah.nongnu.org/download/ifile/default.pkg/%{version}/ifile-%{version}.tar.gz
@ -41,7 +41,7 @@ Source0: http://savannah.nongnu.org/download/ifile/default.pkg/%{version}/i
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20030103, make
BuildPreReq: OpenPKG, openpkg >= 20030103, make, gcc
PreReq: OpenPKG, openpkg >= 20030103
AutoReq: no
AutoReqProv: no
@ -55,9 +55,11 @@ AutoReqProv: no
%setup -q
%build
echo "ac_cv_func_getopt_long=no" >config.cache
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O}" \
./configure \
--cache-file=./config.cache \
--prefix=%{l_prefix}
%{l_make} %{l_mflags -O}

Loading…
Cancel
Save