aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/lftp
diff options
context:
space:
mode:
authormartymac <martymac@FreeBSD.org>2011-05-23 21:10:06 +0800
committermartymac <martymac@FreeBSD.org>2011-05-23 21:10:06 +0800
commitf3bc5366179d0e58f0f5b1444e5876385652114c (patch)
treef5cc1c1f13f52d060ca4fe5280a427a6aea5ac90 /ftp/lftp
parent2c511af8222f34358883b4a3da9844c20dd3e6d6 (diff)
downloadfreebsd-ports-gnome-f3bc5366179d0e58f0f5b1444e5876385652114c.tar.gz
freebsd-ports-gnome-f3bc5366179d0e58f0f5b1444e5876385652114c.tar.zst
freebsd-ports-gnome-f3bc5366179d0e58f0f5b1444e5876385652114c.zip
- Fix build on OSVERSION > 900035 by disabling use of posix_fallocate()
- Remove CPPFLAGS from CONFIGURE_ENV PR: ports/157233 Submitted by: bf
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