summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/postgresql93-client/Makefile7
-rw-r--r--databases/postgresql94-client/Makefile7
2 files changed, 12 insertions, 2 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"
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"