summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorjperkin <jperkin>2012-07-18 10:19:32 +0000
committerjperkin <jperkin>2012-07-18 10:19:32 +0000
commitfa7011d81699e939078ee7c00794d08029447fad (patch)
treeb6e6981af6e26f04f20c543a86755c0fd0dea189 /databases
parentc3c730db2aca8c3b12263b1bec9b5718124f5f87 (diff)
downloadpkgsrc-fa7011d81699e939078ee7c00794d08029447fad.tar.gz
Don't use sys/ucred.h on Solaris, it causes conflicts between procfs and
largefile support.
Diffstat (limited to 'databases')
-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