pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/daemontools svscanboot resets PATH, but doesn...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2d49ddbd5dd5
branches:  trunk
changeset: 311575:2d49ddbd5dd5
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Tue Aug 14 15:52:17 2018 +0000

description:
svscanboot resets PATH, but doesn't include ${PREFIX}/bin or
${PREFIX}/sbin (reported by jmcneill@). Fix and bump PKGREVISION.

diffstat:

 sysutils/daemontools/Makefile |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 3a87d6c1c7b2 -r 2d49ddbd5dd5 sysutils/daemontools/Makefile
--- a/sysutils/daemontools/Makefile     Tue Aug 14 15:23:51 2018 +0000
+++ b/sysutils/daemontools/Makefile     Tue Aug 14 15:52:17 2018 +0000
@@ -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 @@
 
 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:



Home | Main Index | Thread Index | Old Index