From c534d60a0084abaa529d2635416f9da9027dece3 Mon Sep 17 00:00:00 2001 From: "Justin C. Sherrill" Date: Wed, 7 Jul 2004 17:45:47 +0000 Subject: [PATCH] whereis will find a given application in various locations, including /usr/ports, but does not look in /usr/dfports. With /usr/dfports checked, whereis can be used to see if a given port has an override. Approved-by: Matt Dillon --- usr.bin/whereis/pathnames.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/whereis/pathnames.h b/usr.bin/whereis/pathnames.h index c82e59848a..b5d9d9813a 100644 --- a/usr.bin/whereis/pathnames.h +++ b/usr.bin/whereis/pathnames.h @@ -23,7 +23,7 @@ * POSSIBILITY OF SUCH DAMAGE. * * $FreeBSD: src/usr.bin/whereis/pathnames.h,v 1.4 2002/08/22 01:50:51 johan Exp $ - * $DragonFly: src/usr.bin/whereis/pathnames.h,v 1.1 2004/03/25 16:41:01 drhodus Exp $ + * $DragonFly: src/usr.bin/whereis/pathnames.h,v 1.2 2004/07/07 17:45:47 justin Exp $ */ /* Where to look for libexec and games */ @@ -43,7 +43,7 @@ "/usr/src/games" /* Each subdirectory of PATH_PORTS will be appended to PATH_SOURCES. */ -#define PATH_PORTS "/usr/ports" +#define PATH_PORTS "/usr/ports:/usr/dfports" /* How to query the current manpath. */ #define MANPATHCMD "manpath -q" -- 2.41.0