summaryrefslogtreecommitdiff
path: root/databases/postgresql93-client
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2016-06-15 09:25:18 +0000
committerfhajny <fhajny@pkgsrc.org>2016-06-15 09:25:18 +0000
commitd95b96fbf57e3264334b93c4e0cafa83514e85cd (patch)
tree29afa363a79d81f8bc94465a8942eb7c3ba5a321 /databases/postgresql93-client
parentb81c8c5b629d7cd7f2e60f3de6b93462ee20095e (diff)
downloadpkgsrc-d95b96fbf57e3264334b93c4e0cafa83514e85cd.tar.gz
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. See https://github.com/joyent/pkgsrc/issues/377
Diffstat (limited to 'databases/postgresql93-client')
-rw-r--r--databases/postgresql93-client/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/databases/postgresql93-client/Makefile b/databases/postgresql93-client/Makefile
index b9fe3d57154..fe8cb906579 100644
--- a/databases/postgresql93-client/Makefile
+++ b/databases/postgresql93-client/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2016/04/09 12:51:47 adam Exp $
+# $NetBSD: Makefile,v 1.9 2016/06/15 09:25:18 fhajny Exp $
PKGNAME= ${DISTNAME:C/-/93-client-/}
+PKGREVIION= 1
COMMENT= PostgreSQL database client programs
.include "../../databases/postgresql93/Makefile.common"
@@ -10,6 +11,10 @@ CONFIGURE_ARGS+= --with-openssl
CONFIGURE_ARGS+= --with-readline
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"