summaryrefslogtreecommitdiff
path: root/databases/postgresql91
diff options
context:
space:
mode:
authorjperkin <jperkin>2016-02-25 11:46:20 +0000
committerjperkin <jperkin>2016-02-25 11:46:20 +0000
commit54b4f94ac7f84178e0baa33b1f49b39c557442af (patch)
treed51b7272eb47521b39eac24eacb5a7b3789664da /databases/postgresql91
parenta1540fc5fac196add6ff5b3e148775b69e3297c9 (diff)
downloadpkgsrc-54b4f94ac7f84178e0baa33b1f49b39c557442af.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'databases/postgresql91')
-rw-r--r--databases/postgresql91/Makefile.common11
1 files changed, 4 insertions, 7 deletions
diff --git a/databases/postgresql91/Makefile.common b/databases/postgresql91/Makefile.common
index 56634bc9229..7a4da80100c 100644
--- a/databases/postgresql91/Makefile.common
+++ b/databases/postgresql91/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.28 2016/02/25 01:06:31 tnn Exp $
+# $NetBSD: Makefile.common,v 1.29 2016/02/25 11:46:21 jperkin Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -81,14 +81,11 @@ 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
+CONFIGURE_ENV.SunOS+= ac_cv_header_sys_ucred_h=no
# configure fails on OpenBSD and MirBSD if thread safety is enabled.
-.if ${OPSYS} == "OpenBSD" || ${OPSYS} == "MirBSD"
-CONFIGURE_ARGS+= --disable-thread-safety
-.endif
+CONFIGURE_ARGS.MirBSD+= --disable-thread-safety
+CONFIGURE_ARGS.OpenBSD+= --disable-thread-safety
# 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