Import of pkgsrc-2014Q1
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.common,v 1.14 2013/04/04 21:08:35 adam Exp $
|
||||
# $NetBSD: Makefile.common,v 1.20 2014/03/27 20:57:54 adam Exp $
|
||||
#
|
||||
# used by databases/postgresql91-adminpack/Makefile
|
||||
# used by databases/postgresql91-client/Makefile
|
||||
@@ -21,7 +21,7 @@
|
||||
# <lang>-postgresql client-side interface to PostgreSQL
|
||||
# postgresql-<lang> server-side module for PostgreSQL backend
|
||||
|
||||
DISTNAME= postgresql-9.1.9
|
||||
DISTNAME= postgresql-9.1.13
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= ${MASTER_SITE_PGSQL:=source/v${PKGVERSION_NOREV}/}
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
@@ -44,6 +44,7 @@ DISTINFO_FILE?= ${.CURDIR}/../../databases/postgresql91/distinfo
|
||||
COMMON_FILESDIR?= ${.CURDIR}/../../databases/postgresql91/files
|
||||
PATCHDIR?= ${.CURDIR}/../../databases/postgresql91/patches
|
||||
|
||||
USE_GCC_RUNTIME= yes
|
||||
USE_PKGLOCALEDIR= yes
|
||||
USE_TOOLS+= bison gmake lex msgfmt
|
||||
PKG_SYSCONFSUBDIR= postgresql
|
||||
@@ -52,6 +53,7 @@ PKG_SYSCONFSUBDIR= postgresql
|
||||
|
||||
PG_TEMPLATE.SunOS= solaris
|
||||
PG_TEMPLATE.IRIX= irix5
|
||||
PG_TEMPLATE.MirBSD= openbsd
|
||||
.if !defined(PG_TEMPLATE.${OPSYS})
|
||||
PG_TEMPLATE.${OPSYS}= ${LOWER_OPSYS}
|
||||
.endif
|
||||
@@ -81,6 +83,11 @@ CONFIGURE_ARGS+= --without-zlib
|
||||
CONFIGURE_ENV+= ac_cv_header_sys_ucred_h=no
|
||||
.endif
|
||||
|
||||
# configure fails on OpenBSD and MirBSD if thread safety is enabled.
|
||||
.if ${OPSYS} == "OpenBSD" || ${OPSYS} == "MirBSD"
|
||||
CONFIGURE_ARGS+= --disable-thread-safety
|
||||
.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
|
||||
|
||||
Reference in New Issue
Block a user