aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2008-04-12 23:32:00 +0800
committernaddy <naddy@FreeBSD.org>2008-04-12 23:32:00 +0800
commit6ef0db56076270c1c4fe894dbc1c5d8dd8590665 (patch)
tree40fd33fda96281397c267cb563bf1997a1b234fd /misc
parent2c3508d29c6b479698c13a7bd4308456e333f2cb (diff)
downloadfreebsd-ports-gnome-6ef0db56076270c1c4fe894dbc1c5d8dd8590665.tar.gz
freebsd-ports-gnome-6ef0db56076270c1c4fe894dbc1c5d8dd8590665.tar.zst
freebsd-ports-gnome-6ef0db56076270c1c4fe894dbc1c5d8dd8590665.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')
-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+