summaryrefslogtreecommitdiff
path: root/databases/postgresql74
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-12-19 05:10:49 +0000
committergrant <grant@pkgsrc.org>2004-12-19 05:10:49 +0000
commit43de412823098e280e6f76d2eb37e1fb85a06c98 (patch)
tree01242a644bb2b6595e853f9154cf7f3ff7955d10 /databases/postgresql74
parente22649af2a7f3286c45d5299d62fdcdb223e9226 (diff)
downloadpkgsrc-43de412823098e280e6f76d2eb37e1fb85a06c98.tar.gz
explicitly ignore poll() on Darwin because newer Darwin does not have
poll.h or provide the required #defines elsewhere.
Diffstat (limited to 'databases/postgresql74')
-rw-r--r--databases/postgresql74/Makefile.common7
1 files changed, 6 insertions, 1 deletions
diff --git a/databases/postgresql74/Makefile.common b/databases/postgresql74/Makefile.common
index f22a49f6720..472a3e26fec 100644
--- a/databases/postgresql74/Makefile.common
+++ b/databases/postgresql74/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.14 2004/10/25 17:12:10 jdolecek Exp $
+# $NetBSD: Makefile.common,v 1.15 2004/12/19 05:10:49 grant Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -87,6 +87,11 @@ CONFIGURE_ARGS+= --without-tk
# Postgresql explicitly forbids any use of -ffast-math
CFLAGS:= ${CFLAGS:S/-ffast-math//}
+# newer Darwin has poll() but not poll.h, so explicitly ignore poll().
+.if ${OPSYS} == "Darwin"
+CONFIGURE_ENV+= ac_cv_func_poll=no
+.endif
+
post-extract:
if [ -d ${WRKSRC}/src ]; then \
${RM} -f ${WRKSRC}/src/Makefile.custom; \