Nmap 3.20 port broken ?

marius at alchemy.franken.de marius at alchemy.franken.de
Fri Apr 11 06:51:52 PDT 2003


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 at 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++.



More information about the freebsd-ports mailing list