summaryrefslogtreecommitdiff
path: root/sysutils/top
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1998-02-20 07:19:40 +0000
committerhubertf <hubertf@pkgsrc.org>1998-02-20 07:19:40 +0000
commit21aa821602b29138dfa09717212f04b1f70b283d (patch)
tree66a63d3059108c2709b7d2014808d8ba96af7ad1 /sysutils/top
parentbd39a5a391e7c80e448250e6a30f797db267af28 (diff)
downloadpkgsrc-21aa821602b29138dfa09717212f04b1f70b283d.tar.gz
More UVM mods.
Diffstat (limited to 'sysutils/top')
-rw-r--r--sysutils/top/Makefile17
-rw-r--r--sysutils/top/patches/patch-ac19
2 files changed, 30 insertions, 6 deletions
diff --git a/sysutils/top/Makefile b/sysutils/top/Makefile
index 22e4182172d..7a06b54078e 100644
--- a/sysutils/top/Makefile
+++ b/sysutils/top/Makefile
@@ -3,7 +3,7 @@
# Date created: 25 Sep 1994
# Whom: swallace
#
-# $NetBSD: Makefile,v 1.7 1998/02/16 19:40:11 tron Exp $
+# $NetBSD: Makefile,v 1.8 1998/02/20 07:19:40 hubertf Exp $
# FreeBSD Id: Makefile,v 1.14 1997/04/30 23:49:14 asami Exp
#
@@ -16,12 +16,23 @@ MAINTAINER= agc@netbsd.org
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= Configure
+OPSYS!= uname -s
+.if (${OPSYS} == "FreeBSD")
+.if exists(/etc/make.conf)
+.include "/etc/make.conf"
+.endif
+.else
+.if exists(/etc/mk.conf)
+.include "/etc/mk.conf"
+.endif
+.endif
+
MAKE_ENV+= INSTALL_MAN="${INSTALL_MAN}" \
- COPY="${COPY}" STRIPFLAG="${STRIPFLAG}"
+ COPY="${COPY}" STRIPFLAG="${STRIPFLAG}" \
+ UVM=${UVM}
MAN1= top.1
-OPSYS!= uname -s
.if (${OPSYS} == "FreeBSD")
OSVERSION!= sysctl -n kern.osreldate
diff --git a/sysutils/top/patches/patch-ac b/sysutils/top/patches/patch-ac
index fdd5bab2105..2911afd7ca5 100644
--- a/sysutils/top/patches/patch-ac
+++ b/sysutils/top/patches/patch-ac
@@ -1,6 +1,19 @@
---- Makefile.X.orig Wed Nov 20 03:19:24 1996
-+++ Makefile.X Mon Feb 16 20:31:17 1998
-@@ -100,10 +100,10 @@
+]2;feyrer@yui:/usr/pkgsrc/sysutils/top/work/top-3.5beta7 ]1;yui--- 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: