From owner-freebsd-ports@FreeBSD.ORG Fri Apr 11 06:51:52 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 554A537B401 for ; Fri, 11 Apr 2003 06:51:50 -0700 (PDT) Received: from newtrinity.zeist.de (newtrinity.zeist.de [195.49.175.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id E04E743F85 for ; Fri, 11 Apr 2003 06:51:49 -0700 (PDT) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (localhost [127.0.0.1]) h3BDpmKk053625; Fri, 11 Apr 2003 15:51:48 +0200 (CEST) (envelope-from marius@newtrinity.zeist.de) Received: (from marius@localhost) by newtrinity.zeist.de (8.12.9/8.12.9/Submit) id h3BDphOJ053624; Fri, 11 Apr 2003 15:51:43 +0200 (CEST) (envelope-from marius) Date: Fri, 11 Apr 2003 15:51:43 +0200 From: marius@alchemy.franken.de To: Matt Message-ID: <20030411155143.B53107@newtrinity.zeist.de> References: <20030411131646.M83910@xtaz.co.uk> <20030411152955.A53107@newtrinity.zeist.de> <20030411133544.M62977@xtaz.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030411133544.M62977@xtaz.co.uk>; from matt@xtaz.co.uk on Fri, Apr 11, 2003 at 02:36:42PM +0100 cc: ports@freebsd.org Subject: Re: 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:51:52 -0000 On Fri, Apr 11, 2003 at 02:36:42PM +0100, Matt wrote: > On Fri, 11 Apr 2003 15:29:55 +0200, marius wrote > > On Fri, Apr 11, 2003 at 02:18:43PM +0100, Matt wrote: > > > 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? > > > > > > > please make sure you have security/nmap/files/patch-nbase::getopt.h > > [root@aftershock ports]# ls -al security/nmap/files/patch-nbase\:\:getopt.h > -rw-r--r-- 1 root wheel 517 Apr 11 11:00 security/nmap/files/patch- > nbase::getopt.h hrm, strange, worked for me on up-to-date current when i submitted the patch. could you please try to replace the '+#if FREEBSD' in patch-nbase::getopt.h with '+#if __FreeBSD__' and compile again? FREEBSD should get defined by nmap but that seems to fail on your system. > > The error looks like some incompatibility in header files on -current. > However the older namp 3.00 port was compiling/working fine. > that's because nmap 3.00 is compiled with cc while nmap 3.20 is written in c++.