Index: Makefile =================================================================== RCS file: /home/pcvs/ports/ftp/lftp/Makefile,v retrieving revision 1.158 diff -u -r1.158 Makefile --- Makefile 16 May 2011 12:14:34 -0000 1.158 +++ Makefile 21 May 2011 10:31:08 -0000 @@ -27,8 +27,11 @@ USE_ICONV= yes USE_GZIP= yes +CPPFLAGS+= -I${LOCALBASE}/include GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ +#FreeBSD 9.x has posix_fallocate() for OSVERSION > 900035, +#but is missing the required POSIX_FADV_* macros +CONFIGURE_ENV= i_cv_posix_fallocate_works=no \ LIBS="-L${LOCALBASE}/lib" MAKE_JOBS_SAFE= yes