From ce4f2f5ac397d8fb73a2558d8d4e85b8fd99623a Mon Sep 17 00:00:00 2001 From: Michael van Elst Date: Thu, 12 Jun 2003 11:32:50 +0000 Subject: [PATCH] use our getopt to avoid conflicts, ignore anything that might be found in /usr/local --- nmap/nmap.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/nmap/nmap.spec b/nmap/nmap.spec index 8b18b83701..c9ce886fb8 100644 --- a/nmap/nmap.spec +++ b/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}" \