summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2016-03-22 18:56:36 +0000
committerjoerg <joerg@pkgsrc.org>2016-03-22 18:56:36 +0000
commit6af5f878fc1beecfa994a49a83a75d7bfdcf7968 (patch)
tree7ba831a0f5a3029c2ef1aef4fb1ce7d3e8cbfec7 /sysutils
parent4e4111ee0d745ffa705fc9f15c3c6d48f9acc8f7 (diff)
downloadpkgsrc-6af5f878fc1beecfa994a49a83a75d7bfdcf7968.tar.gz
Help configure to find shutdown on NetBSD where PATH might not contain
/sbin.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/apcupsd/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysutils/apcupsd/Makefile b/sysutils/apcupsd/Makefile
index a355a7de22d..b584b915d28 100644
--- a/sysutils/apcupsd/Makefile
+++ b/sysutils/apcupsd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.81 2016/02/26 10:24:10 jperkin Exp $
+# $NetBSD: Makefile,v 1.82 2016/03/22 18:56:36 joerg Exp $
DISTNAME= apcupsd-3.14.13r2365
CATEGORIES= sysutils
@@ -51,6 +51,8 @@ CONFIGURE_ARGS+= --sbindir=${PREFIX}/sbin
CONFIGURE_ENV+= SCRIPTSHELL=${TOOLS_SH:Q}
CONFIGURE_ENV+= ac_cv_path_MAKE=${MAKE:Q} LD=${CXX}
+CONFIGURE_ARGS.NetBSD+= ac_cv_path_SHUTDOWN=/sbin/shutdown
+
EGDIR= ${PREFIX}/share/examples/apcupsd
CONF_FILES_PERMS+= ${EGDIR}/apcupsd.conf ${PKG_SYSCONFDIR}/apcupsd.conf ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 644