From owner-freebsd-ports@FreeBSD.ORG Fri Apr 11 06:18:47 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55E1637B401 for ; Fri, 11 Apr 2003 06:18:47 -0700 (PDT) Received: from tao.xtaz.co.uk (pc-62-30-69-139-az.blueyonder.co.uk [62.30.69.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id A117143FE3 for ; Fri, 11 Apr 2003 06:18:45 -0700 (PDT) (envelope-from matt@xtaz.co.uk) Received: from webmail.xtaz.co.uk (matt@localhost.xtaz.co.uk [127.0.0.1]) by tao.xtaz.co.uk (8.12.9/8.12.9) with ESMTP id h3BDIhEW053128 for ; Fri, 11 Apr 2003 14:18:43 +0100 (BST) (envelope-from matt@xtaz.co.uk) From: "Matt" To: ports@freebsd.org Date: Fri, 11 Apr 2003 14:18:43 +0100 Message-Id: <20030411131646.M83910@xtaz.co.uk> X-Mailer: Open WebMail 2.00 20030325 X-OriginatingIP: 193.35.129.161 (matt) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Subject: Nmap 3.20 port broken ? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2003 13:18:47 -0000 When trying to portupgrade the recently commited nmap-3.20 port on FreeBSD 5.0-CURRENT: Is this the result of a cvsup halfway through a commit/mirror or is it b0rk3d? c++ -g -Wall -O -pipe -mcpu=pentiumpro -I/usr/local/include -Inbase - DHAVE_CONFIG_H -DNMAP_VERSION=\"3.20\" -DNMAP_NAME=\"nmap\" - DNMAP_URL=\"www.insecure.org/nmap/\" -DNMAP_PLATFORM=\"i386-portbld-freebsd5.0 \" -DNMAPDATADIR=\"/usr/local/share/nmap\" -c main.cc In file included from nbase/nbase.h:197, from nmap.h:65, from main.cc:48: /usr/local/include/getopt.h:115: declaration of C function `int getopt()' conflicts with /usr/include/unistd.h:377: previous declaration `int getopt(int, char* const*, const char*)' here *** Error code 1 Stop in /tmp/usr/ports/security/nmap/work/nmap-3.20. *** Error code 1 --- Matt (matt@xtaz.co.uk) http://www.xtaz.co.uk/ ---