Sat Mar 5 16:06:32 2016 UTC ()
prevent building the package with 9.5; pgbench now shipped with -client


(tnn)
diff -r1.2 -r1.3 pkgsrc/databases/postgresql-pgbench/Makefile

cvs diff -r1.2 -r1.3 pkgsrc/databases/postgresql-pgbench/Attic/Makefile (expand / switch to context diff)
--- pkgsrc/databases/postgresql-pgbench/Attic/Makefile 2012/10/02 21:25:41 1.2
+++ pkgsrc/databases/postgresql-pgbench/Attic/Makefile 2016/03/05 16:06:32 1.3
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2012/10/02 21:25:41 asau Exp $
+# $NetBSD: Makefile,v 1.3 2016/03/05 16:06:32 tnn Exp $
 
 PKGNAME=	${DISTNAME:C/-/${PGSQL_VERSION}-pgbench-/}
 COMMENT=	PostgreSQL benchmarking tools
@@ -6,5 +6,12 @@
 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)
+PKG_SKIP_REASON+=	\
+	"pgbench is now shipped with postgresql${PGSQL_VERSION}-client"
+.endif
+
 .include "../../databases/postgresql${PGSQL_VERSION}/Makefile.common"
 .include "../../mk/bsd.pkg.mk"