ps(1): Remove -I${.CURDIR}/../../sys from the Makefile.
authorSascha Wildner <saw@online.de>
Sun, 6 Aug 2017 22:45:23 +0000 (00:45 +0200)
committerSascha Wildner <saw@online.de>
Sun, 6 Aug 2017 22:45:23 +0000 (00:45 +0200)
FreeBSD did that in 2001 (r76812). It's not a bootstrap tool, so there
is no reason to mix up include paths.

bin/ps/Makefile

index f4dfc15..01c45ae 100644 (file)
@@ -1,5 +1,4 @@
 # $FreeBSD: src/bin/ps/Makefile,v 1.13 1999/11/17 13:37:30 peter Exp $
-# $DragonFly: src/bin/ps/Makefile,v 1.4 2005/02/06 06:16:40 okumoto Exp $
 #      @(#)Makefile    8.1 (Berkeley) 6/2/93
 
 PROG=  ps
@@ -10,7 +9,7 @@ SRCS=  fmt.c keyword.c nlist.c print.c ps.c
 # keep ps from being an unnecessary load
 # on large systems.
 #
-CFLAGS+=-I${.CURDIR}/../../sys -DLAZY_PS
+CFLAGS+=-DLAZY_PS
 DPADD= ${LIBM} ${LIBKVM}
 LDADD= -lm -lkvm
 #BINGRP=       kmem