pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/daemontools



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Fri Jun  2 18:35:04 UTC 2023

Modified Files:
        pkgsrc/sysutils/daemontools: Makefile

Log Message:
daemontools: avoid tools-depending on file. Just install the one script.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 pkgsrc/sysutils/daemontools/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/daemontools/Makefile
diff -u pkgsrc/sysutils/daemontools/Makefile:1.48 pkgsrc/sysutils/daemontools/Makefile:1.49
--- pkgsrc/sysutils/daemontools/Makefile:1.48   Sun May 15 17:40:02 2022
+++ pkgsrc/sysutils/daemontools/Makefile        Fri Jun  2 18:35:04 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2022/05/15 17:40:02 schmonz Exp $
+# $NetBSD: Makefile,v 1.49 2023/06/02 18:35:04 schmonz Exp $
 
 DISTNAME=              daemontools-0.76
 PKGREVISION=           3
@@ -23,8 +23,6 @@ TEST_DIRS=            ${WRKSRC}/compile
 
 CMDDIR=                        ${WRKSRC}/command
 
-USE_TOOLS+=            file
-
 INSTALLATION_DIRS=     bin man ${PKGMANDIR}/man8
 
 SUBST_CLASSES+=                djberrno
@@ -42,7 +40,7 @@ MAKE_ENV+=            PKGSRC_SHELL=${TOOLS_PLATFOR
 
 do-install:
        (while read cmd; do \
-         if ${FILE_CMD} ${CMDDIR}/$$cmd | ${EGREP} "(executable .* script|shell script|text)" >/dev/null 2>&1; then \
+         if [ $$cmd = svscanboot ]; then \
            ${INSTALL_SCRIPT} ${CMDDIR}/$$cmd ${DESTDIR}${PREFIX}/bin; \
          else \
            ${INSTALL_PROGRAM} ${CMDDIR}/$$cmd ${DESTDIR}${PREFIX}/bin; \



Home | Main Index | Thread Index | Old Index