summaryrefslogtreecommitdiff
path: root/sysutils/top/patches/patch-ac
blob: 42f16aecc9b313853b13f0bb623ddc7239a8e4c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
$NetBSD: patch-ac,v 1.4 1999/02/10 15:20:06 frueauf Exp $

--- Makefile.X.orig	Wed Nov 20 03:19:24 1996
+++ Makefile.X	Fri Feb 20 08:11:35 1998
@@ -55,6 +55,12 @@
 TERMCAP = %termcap%
 
 CFLAGS = %cflgs% $(CDEFS)
+.ifndef UVM
+UVM=	
+.endif
+.if ${UVM} != ""
+CFLAGS+=        -DUVM
+.endif
 LINTFLAGS = -x $(CDEFS)
 
 all: Makefile top.local.h top
@@ -100,10 +106,10 @@
 install: top top.1 install-top install-$(MANSTY)
 
 install-top:
-	$(INSTALL) -o $(OWNER) -m $(MODE) -g $(GROUP) top $(BINDIR)
+	${INSTALL} ${COPY} ${STRIPFLAG} -o $(OWNER) -m $(MODE) -g $(GROUP) top $(BINDIR)
 
 install-man:
-	$(INSTALL) top.1 $(MANDIR)/top.$(MANEXT)
+	${INSTALL_MAN} top.1 $(MANDIR)/top.$(MANEXT)
 
 install-catman:
 	tbl top.1 | nroff -man > $(MANDIR)/top.$(MANEXT)