summaryrefslogtreecommitdiff
path: root/databases/postgresql91
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2012-07-18 10:19:32 +0000
committerjperkin <jperkin@pkgsrc.org>2012-07-18 10:19:32 +0000
commit7761e07101622b0f6ea104001a433c66808c7c72 (patch)
treeb6e6981af6e26f04f20c543a86755c0fd0dea189 /databases/postgresql91
parentb0aa0f01d3ec21f7295915390d5597cbe805b5db (diff)
downloadpkgsrc-7761e07101622b0f6ea104001a433c66808c7c72.tar.gz
Don't use sys/ucred.h on Solaris, it causes conflicts between procfs and
largefile support.
Diffstat (limited to 'databases/postgresql91')
-rw-r--r--databases/postgresql91/Makefile.common8
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/postgresql91/Makefile.common b/databases/postgresql91/Makefile.common
index 9684f3fbb2a..f7a17c8eb49 100644
--- a/databases/postgresql91/Makefile.common
+++ b/databases/postgresql91/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.7 2012/07/01 19:49:24 morr Exp $
+# $NetBSD: Makefile.common,v 1.8 2012/07/18 10:19:32 jperkin Exp $
#
# used by databases/postgresql91-adminpack/Makefile
# used by databases/postgresql91-client/Makefile
@@ -69,6 +69,12 @@ CONFIGURE_ARGS+= --without-readline
CONFIGURE_ARGS+= --without-tcl
CONFIGURE_ARGS+= --without-zlib
+# sys/ucred.h shouldn't be included on Solaris, causes conflicts between
+# procfs and largefile.
+.if ${OPSYS} == "SunOS"
+CONFIGURE_ENV+= ac_cv_header_sys_ucred_h=no
+.endif
+
# PGSQL_BLCKSZ is the size in bytes of a PostgreSQL disk page or block.
# This also limits the size of a tuple. The valid values are powers
# of 2 up to 32768, and the default size is 8196. Please don't change