Browse Source

use our getopt to avoid conflicts, ignore anything that might be found in /usr/local

master
Michael van Elst 23 years ago committed by Ralf S. Engelschall
parent
commit
ce4f2f5ac3
  1. 9
      nmap/nmap.spec

9
nmap/nmap.spec

@ -33,7 +33,7 @@ Distribution: OpenPKG [BASE]
Group: Network
License: GPL
Version: 3.27
Release: 20030429
Release: 20030612
# list of sources
Source0: http://www.insecure.org/nmap/dist/nmap-%{version}.tgz
@ -41,8 +41,8 @@ Source0: http://www.insecure.org/nmap/dist/nmap-%{version}.tgz
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20030103, make, gcc, flex, bison
PreReq: OpenPKG, openpkg >= 20030103
BuildPreReq: OpenPKG, openpkg >= 20030103, make, gcc, flex, bison, getopt
PreReq: OpenPKG, openpkg >= 20030103, getopt
AutoReq: no
AutoReqProv: no
@ -59,6 +59,9 @@ AutoReqProv: no
%prep
%setup -q
%{l_shtool} subst \
-e 's;/usr/local/;%{l_prefix}/;g' \
configure */configure
%build
CC="%{l_cc}" \

Loading…
Cancel
Save