summaryrefslogtreecommitdiff
path: root/databases/postgresql-pgbench/Makefile
diff options
context:
space:
mode:
authorfhajny <fhajny>2016-11-23 13:39:28 +0000
committerfhajny <fhajny>2016-11-23 13:39:28 +0000
commitf54528af89557114618f442a974cc15774661c35 (patch)
tree66566682669c76e368561798bb10b3eb336e1db5 /databases/postgresql-pgbench/Makefile
parent8242be381f15479cc83019b9bf175969447dc228 (diff)
downloadpkgsrc-f54528af89557114618f442a974cc15774661c35.tar.gz
Limit databases/postgresql-pgbench to PostgreSQL<9.5.
Diffstat (limited to 'databases/postgresql-pgbench/Makefile')
-rw-r--r--databases/postgresql-pgbench/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/databases/postgresql-pgbench/Makefile b/databases/postgresql-pgbench/Makefile
index 6629fef49f6..a43c7d34c5c 100644
--- a/databases/postgresql-pgbench/Makefile
+++ b/databases/postgresql-pgbench/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2016/10/09 21:41:57 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2016/11/23 13:39:28 fhajny Exp $
PKGNAME= ${DISTNAME:C/-/${PGSQL_VERSION}-pgbench-/}
PKGREVISION= 1
@@ -8,8 +8,8 @@ BUILD_DIRS+= contrib/pgbench
.include "../../mk/pgsql.buildlink3.mk" # this one defines PGSQL_VERSION among others
-# This package should be removed when PGSQL_VERSION_DEFAULT is bumped
-.if !empty(PGSQL_VERSION:M95)
+# This package is only to be used with PostgreSQL<9.5
+.if empty(PGSQL_VERSION:M9[1234])
PKG_SKIP_REASON+= \
"pgbench is now shipped with postgresql${PGSQL_VERSION}-client"
.endif