> In file included from nmap.h:192, > from nmap.c:48: > /usr/include/net/if.h:50: altq/if_altq.h: No such file or directory > *** Error code 1 The problem is not in the ports tree, but in your system. For some reason, you have updated net/if.h, but you lack the altq/ directory. How did you update? make includes in /usr/src should fix your problem.