diff options
author | grant <grant> | 2004-12-19 05:10:49 +0000 |
---|---|---|
committer | grant <grant> | 2004-12-19 05:10:49 +0000 |
commit | abed5ad33cb044548d36fca0c97e4b6d8eac8b2e (patch) | |
tree | 01242a644bb2b6595e853f9154cf7f3ff7955d10 /databases | |
parent | 8dc53a112f5002201ede0943b969b9074d0327ad (diff) | |
download | pkgsrc-abed5ad33cb044548d36fca0c97e4b6d8eac8b2e.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')
-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; \ |