The default order of -I statements had the local includes of this software rather late, behind any other CFLAGS.
This causes a conflict of the local ftdi.h they provide with a global ftdi.h provided by libftdi, if the latter is installed. Their include file from /usr/local/include got preferred through the PORTS_CFLAGS.
Change include order of includes to avoid this situation.