summaryrefslogtreecommitdiff
path: root/databases/postgresql95-client
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2017-06-05 12:30:56 +0000
committerfhajny <fhajny@pkgsrc.org>2017-06-05 12:30:56 +0000
commite64db456f69ec633a4048d221b7165dfeb4f43ba (patch)
treeadc829109b8309efc8a64e04cad4a7b5912c6995 /databases/postgresql95-client
parent57d4b7efb531ed41d60bce612e6f2764f047e0d4 (diff)
downloadpkgsrc-e64db456f69ec633a4048d221b7165dfeb4f43ba.tar.gz
Extend last year fix to PostgreSQL 9.5 and 9.6.
Override INSTALL script to make sure owner/group args do not leak into the binary packages. Fixes problems with building software manually against binary postgresql*-client packages built under an unprivileged setup. Bump respective PKGREVISION.
Diffstat (limited to 'databases/postgresql95-client')
-rw-r--r--databases/postgresql95-client/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/databases/postgresql95-client/Makefile b/databases/postgresql95-client/Makefile
index 0d12d5e0034..6d933065f0a 100644
--- a/databases/postgresql95-client/Makefile
+++ b/databases/postgresql95-client/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2016/04/09 12:51:49 adam Exp $
+# $NetBSD: Makefile,v 1.4 2017/06/05 12:30:56 fhajny Exp $
PKGNAME= ${DISTNAME:C/-/95-client-/}
+PKGREVISION= 1
COMMENT= PostgreSQL database client programs
.include "../../databases/postgresql95/Makefile.common"
@@ -9,6 +10,10 @@ USE_TOOLS+= gzip tar
CONFIGURE_ARGS+= --with-openssl
CONFIGURE_ARGS+= --with-zlib
+# Override INSTALL script to avoid unprivileged user/group
+# leaking into the binary package
+CONFIGURE_ARGS+= INSTALL=${INSTALL:Q}\ -c
+
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Cygwin"