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