pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/postgresql74 explicitly ignore poll() on Dar...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a5249ecb3dd6
branches:  trunk
changeset: 485715:a5249ecb3dd6
user:      grant <grant%pkgsrc.org@localhost>
date:      Sun Dec 19 05:10:49 2004 +0000

description:
explicitly ignore poll() on Darwin because newer Darwin does not have
poll.h or provide the required #defines elsewhere.

diffstat:

 databases/postgresql74/Makefile.common |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 38eef93622f5 -r a5249ecb3dd6 databases/postgresql74/Makefile.common
--- a/databases/postgresql74/Makefile.common    Sun Dec 19 04:53:08 2004 +0000
+++ b/databases/postgresql74/Makefile.common    Sun Dec 19 05:10:49 2004 +0000
@@ -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 @@
 # 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;                 \



Home | Main Index | Thread Index | Old Index