aboutsummaryrefslogtreecommitdiff
path: root/ftp/lftp
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2011-05-23 13:10:06 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2011-05-23 13:10:06 +0000
commita502c7d9e529d3d6c1c6f2bbeed296f4dcb80df3 (patch)
treec1bf4848da37e0350bb24e98857abb51ebaeae01 /ftp/lftp
parent68c2e07dfc6f4b761f063623877bd0aed005a452 (diff)
downloadports-a502c7d9e529d3d6c1c6f2bbeed296f4dcb80df3.tar.gz
ports-a502c7d9e529d3d6c1c6f2bbeed296f4dcb80df3.zip
Notes
Diffstat (limited to 'ftp/lftp')
-rw-r--r--ftp/lftp/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/ftp/lftp/Makefile b/ftp/lftp/Makefile
index 6e5d8b7ed1b6..de3925b5307d 100644
--- a/ftp/lftp/Makefile
+++ b/ftp/lftp/Makefile
@@ -27,8 +27,11 @@ LICENSE= GPLv3
USE_ICONV= yes
USE_GZIP= yes
+CPPFLAGS+= -I${LOCALBASE}/include
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
+# XXX 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