#16194: nmap 4.68: upgrade fails (missing include path) ----------------------------------+----------------------------------------- Reporter: vinc17@macports.org | Owner: opendarwin.org@darkart.com Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: nmap build ----------------------------------+----------------------------------------- Comment (by vinc17@macports.org): Replying to [comment:7 dluke@macports.org]:
Honestly, I wish MacPorts never decided to add ${prefix} to CPPFLAGS and LDFLAGS, since we then have to deal with autoconf finding things that we don't intend (like in this case).
Adding ${prefix} to CPPFLAGS and LDFLAGS is not a problem. If header files from the source directory need to be used, then a -Isome_dir_relative_to_cwd must be added (whether or not ${prefix} has been added to CPPFLAGS and LDFLAGS). And it just needs to be inserted before CPPFLAGS and LDFLAGS, which almost all software does correctly. -- Ticket URL: <http://trac.macports.org/ticket/16194#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS