From 55416ca8f7aa4c26d06dd829c6ff80b103b46b43 Mon Sep 17 00:00:00 2001 From: Yaroslav Tykhiy Date: Sat, 19 Aug 2006 08:24:01 +0000 Subject: [PATCH] Install pkill(1), aka pgrep(1), to /bin so that rc scripts can use this small and nifty utility. Create compatibility symlinks from /usr/bin for the time being to avoid breaking custom scripts relying on the hardcoded path to the utility. If pkill(1) takes root, its source should be repocopied some day to src/bin. Idea by: des Discussed with: brooks (in cvs-src and cvs-all) --- usr.bin/pkill/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/usr.bin/pkill/Makefile b/usr.bin/pkill/Makefile index 632d6f42cf6..31f7fc4ba24 100644 --- a/usr.bin/pkill/Makefile +++ b/usr.bin/pkill/Makefile @@ -1,6 +1,8 @@ # $NetBSD: Makefile,v 1.1 2002/03/01 11:21:58 ad Exp $ # $FreeBSD$ +BINDIR= /bin + PROG= pkill WARNS?= 5 @@ -10,4 +12,7 @@ LDADD= -lkvm LINKS= ${BINDIR}/pkill ${BINDIR}/pgrep MLINKS= pkill.1 pgrep.1 +SYMLINKS= ${BINDIR}/pkill /usr/bin/pkill +SYMLINKS+= ${BINDIR}/pgrep /usr/bin/pgrep + .include