diff options
author | grant <grant@pkgsrc.org> | 2004-12-19 05:10:49 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-12-19 05:10:49 +0000 |
commit | 43de412823098e280e6f76d2eb37e1fb85a06c98 (patch) | |
tree | 01242a644bb2b6595e853f9154cf7f3ff7955d10 | |
parent | e22649af2a7f3286c45d5299d62fdcdb223e9226 (diff) | |
download | pkgsrc-43de412823098e280e6f76d2eb37e1fb85a06c98.tar.gz |
explicitly ignore poll() on Darwin because newer Darwin does not have
poll.h or provide the required #defines elsewhere.
-rw-r--r-- | databases/postgresql74/Makefile.common | 7 |
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; \ |