summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2017-02-20 11:15:19 +0000
committerjmmv <jmmv@pkgsrc.org>2017-02-20 11:15:19 +0000
commit1e5f36bfbc4a3353df30517bd73564e3e5326a87 (patch)
tree2b4fa9891a6aea893081ec21d65561faa8890079 /pkgtools
parentf432e17b14543d853e85a90aefd0c287f0f23e6c (diff)
downloadpkgsrc-1e5f36bfbc4a3353df30517bd73564e3e5326a87.tar.gz
Hardcode the location of sandboxctl to not rely on the PATH.
Should fix the problems observed in: http://ftp.netbsd.org/pub/pkgsrc/misc/joerg/20170219.1406/meta/report.html
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkg_comp/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgtools/pkg_comp/Makefile b/pkgtools/pkg_comp/Makefile
index 97ee4ff704b..1b1a3692181 100644
--- a/pkgtools/pkg_comp/Makefile
+++ b/pkgtools/pkg_comp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.57 2017/02/17 21:25:46 jmmv Exp $
+# $NetBSD: Makefile,v 1.58 2017/02/20 11:15:19 jmmv Exp $
DISTNAME= pkg_comp-2.0
CATEGORIES= sysutils
@@ -18,6 +18,7 @@ USE_TOOLS= pkg-config
PKG_SYSCONFSUBDIR= pkg_comp
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= PKG_COMP_CONFSUBDIR=
+CONFIGURE_ARGS+= SANDBOXCTL=${PREFIX}/sbin/sandboxctl
INSTALL_MAKE_FLAGS+= pkg_comp_confdir=${EGDIR}
EGDIR= ${PREFIX}/share/examples/pkg_comp
CONF_FILES+= ${EGDIR}/default.conf ${PKG_SYSCONFDIR}/default.conf