summaryrefslogtreecommitdiff
path: root/databases/postgresql94-client
diff options
context:
space:
mode:
authorfhajny <fhajny>2016-06-15 09:25:18 +0000
committerfhajny <fhajny>2016-06-15 09:25:18 +0000
commitadef9c781dab638fcefa9c0c3aac990a53b10f37 (patch)
tree429d617f8e21a3c57b3663aa27c15145284501ee /databases/postgresql94-client
parent249e36090965e871d636c32ad30da8c34b6a07c9 (diff)
downloadpkgsrc-adef9c781dab638fcefa9c0c3aac990a53b10f37.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/postgresql94-client')
-rw-r--r--databases/postgresql94-client/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/databases/postgresql94-client/Makefile b/databases/postgresql94-client/Makefile
index c7a2358fdbe..634396c626b 100644
--- a/databases/postgresql94-client/Makefile
+++ b/databases/postgresql94-client/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2016/04/09 12:51:48 adam Exp $
+# $NetBSD: Makefile,v 1.4 2016/06/15 09:25:18 fhajny Exp $
PKGNAME= ${DISTNAME:C/-/94-client-/}
+PKGREVISION= 1
COMMENT= PostgreSQL database client programs
.include "../../databases/postgresql94/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"