summaryrefslogtreecommitdiff
path: root/databases/postgresql96-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/postgresql96-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/postgresql96-client')
-rw-r--r--databases/postgresql96-client/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/databases/postgresql96-client/Makefile b/databases/postgresql96-client/Makefile
index 7bf0b9ebf08..f11e394610d 100644
--- a/databases/postgresql96-client/Makefile
+++ b/databases/postgresql96-client/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2016/10/29 19:41:55 adam Exp $
+# $NetBSD: Makefile,v 1.2 2017/06/05 12:30:56 fhajny Exp $
PKGNAME= ${DISTNAME:C/-/96-client-/}
+PKGREVISION= 1
COMMENT= PostgreSQL database client programs
.include "../../databases/postgresql96/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"