svscanboot resets PATH, but doesn't include ${PREFIX}/bin or

${PREFIX}/sbin (reported by jmcneill@). Fix and bump PKGREVISION.
This commit is contained in:
schmonz 2018-08-14 15:52:17 +00:00
parent 2586feaa73
commit 61909ddb19

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.38 2017/10/03 00:21:44 schmonz Exp $
# $NetBSD: Makefile,v 1.39 2018/08/14 15:52:17 schmonz Exp $
DISTNAME= daemontools-0.76
PKGREVISION= 2
PKGREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= http://cr.yp.to/daemontools/ ftp://cr.yp.to/daemontools/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${MANPAGES}
@ -27,6 +27,11 @@ INSTALLATION_DIRS= bin man ${PKGMANDIR}/man8
SUBST_FILES.djbware+= src/error.h
SUBST_CLASSES+= paths
SUBST_STAGE.paths= do-configure
SUBST_FILES.paths= src/svscanboot.sh
SUBST_SED.paths= -e 's|/usr/local/sbin:/bin|/usr/local/sbin:${PREFIX}/bin:${PREFIX}/sbin:/bin|g'
MAKE_ENV+= PKGSRC_SHELL=${TOOLS_PLATFORM.sh}
do-install: