aboutsummaryrefslogtreecommitdiffstats
path: root/misc/findutils
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2008-04-12 23:32:00 +0800
committerChristian Weisgerber <naddy@FreeBSD.org>2008-04-12 23:32:00 +0800
commit61e5dec359c71f9b6a67e9a182bcb3aec8c9b0e9 (patch)
treec4784b374c8d94cb3f7631a585a191c0364e9848 /misc/findutils
parent83c1430c83b1d86bf1bd086904206d350b853733 (diff)
downloadfreebsd-ports-gnome-61e5dec359c71f9b6a67e9a182bcb3aec8c9b0e9.tar.gz
freebsd-ports-gnome-61e5dec359c71f9b6a67e9a182bcb3aec8c9b0e9.tar.zst
freebsd-ports-gnome-61e5dec359c71f9b6a67e9a182bcb3aec8c9b0e9.zip
Work around the assumption that openat() implies the existence of
fdopendir(). FreeBSD 8 has the former, but not the latter. PR: 122433 Approved by: trasz
Diffstat (limited to 'misc/findutils')
-rw-r--r--misc/findutils/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/findutils/Makefile b/misc/findutils/Makefile
index 2de3211c5028..96d0afdb0c9c 100644
--- a/misc/findutils/Makefile
+++ b/misc/findutils/Makefile
@@ -20,6 +20,10 @@ SIG_FILES= ${DISTNAME}${EXTRACT_SUFX}.sig
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
+# GNU assumes that openat() implies the existence of fdopendir(),
+# which does not hold true on FreeBSD 8.
+CONFIGURE_ENV+= ac_cv_func_openat=no
+
USE_GMAKE= yes
USE_GCC= 3.4+