diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2013-12-01 23:51:02 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2013-12-01 23:51:02 +0000 |
commit | abdf43ff1a390f469c154d918439fc90f7d141aa (patch) | |
tree | 001559013409e517102d6faf94ec2c2b7ba58d8c /databases/postgresql93-client | |
parent | 1d679e82a683cb1cbdbcd354fb100a040753f51a (diff) | |
download | pkgsrc-abdf43ff1a390f469c154d918439fc90f7d141aa.tar.gz |
Fix MirBSD build.
Diffstat (limited to 'databases/postgresql93-client')
-rw-r--r-- | databases/postgresql93-client/Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/databases/postgresql93-client/Makefile b/databases/postgresql93-client/Makefile index fd672dcd25d..293fa754e39 100644 --- a/databases/postgresql93-client/Makefile +++ b/databases/postgresql93-client/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2013/10/04 18:23:40 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2013/12/01 23:51:02 bsiegert Exp $ PKGNAME= ${DISTNAME:C/-/93-client-/} COMMENT= PostgreSQL database client programs @@ -10,15 +10,17 @@ CONFIGURE_ARGS+= --with-openssl CONFIGURE_ARGS+= --with-readline CONFIGURE_ARGS+= --with-zlib +.include "../../mk/bsd.prefs.mk" + .if ${OPSYS} == "Cygwin" INSTALLATION_DIRS+= bin .endif # 1. The thread-safety test in ${WRSRC}/src/tools/thread does not pass on -# NetBSD earler than 4.0 or DragonFly. +# NetBSD earlier than 4.0 or DragonFly. # 2. configure with --enable-thread-safety fails on OpenBSD. .if (${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[0-3].*)) || \ - ${OPSYS} == "DragonFly" || ${OPSYS} == "OpenBSD" + ${OPSYS} == "DragonFly" || ${OPSYS} == "OpenBSD" || ${OPSYS} == "MirBSD" PGSQL_THREAD_SAFETY?= no .endif PGSQL_THREAD_SAFETY?= yes @@ -29,6 +31,12 @@ BUILD_DEFS+= PGSQL_THREAD_SAFETY . if (${PTHREAD_TYPE} == "native") CONFIGURE_ARGS+= --enable-thread-safety . endif +.else +CONFIGURE_ARGS+= --disable-thread-safety +.endif + +.if ${OPSYS} == "MirBSD" +CONFIGURE_ARGS+= --with-template=openbsd .endif INSTALL_DIRS= src/include |