pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/postgresql-pgbench Limit databases/postgresq...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8adc54fd0bde
branches:  trunk
changeset: 355157:8adc54fd0bde
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Wed Nov 23 13:39:28 2016 +0000

description:
Limit databases/postgresql-pgbench to PostgreSQL<9.5.

diffstat:

 databases/postgresql-pgbench/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 3ebf62936220 -r 8adc54fd0bde databases/postgresql-pgbench/Makefile
--- a/databases/postgresql-pgbench/Makefile     Wed Nov 23 13:01:54 2016 +0000
+++ b/databases/postgresql-pgbench/Makefile     Wed Nov 23 13:39:28 2016 +0000
@@ -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 @@
 
 .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



Home | Main Index | Thread Index | Old Index