aboutsummaryrefslogtreecommitdiff
path: root/sysutils/dwatch/files
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-03-31 22:05:56 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-03-31 22:05:56 +0000
commitccad595e10614983993da6e65d33e4e6c9ff57ad (patch)
treeceefe779eb32dbd7c6880c26fc2c95ab668c84f6 /sysutils/dwatch/files
parent36f042efc35edfb66fd7804fbc6ee269fb523c66 (diff)
downloadports-ccad595e10614983993da6e65d33e4e6c9ff57ad.tar.gz
ports-ccad595e10614983993da6e65d33e4e6c9ff57ad.zip
Notes
Diffstat (limited to 'sysutils/dwatch/files')
-rw-r--r--sysutils/dwatch/files/patch-Makefile21
-rw-r--r--sysutils/dwatch/files/patch-dwatch.c10
2 files changed, 31 insertions, 0 deletions
diff --git a/sysutils/dwatch/files/patch-Makefile b/sysutils/dwatch/files/patch-Makefile
new file mode 100644
index 000000000000..f782803e66fc
--- /dev/null
+++ b/sysutils/dwatch/files/patch-Makefile
@@ -0,0 +1,21 @@
+--- Makefile.orig Wed Aug 14 21:37:07 2002
++++ Makefile Wed Aug 14 21:36:47 2002
+@@ -10,7 +10,8 @@
+ LDFLAGS = `./guess --libs`
+
+ # This ps works for Linux and Solaris, at least
+-PS = "/bin/ps -ef"
++#PS = "/bin/ps -ef"
++PS = "/bin/ps -ax"
+
+ # For Linux
+ #CFLAGS = -Wall -g
+@@ -19,7 +20,7 @@
+ #CFLAGS = -Wall -g
+ #LDFLAGS = -lnsl -lsocket
+
+-PREFIX = /usr/local
++PREFIX ?= /usr/local
+ BINDIR = $(PREFIX)/bin
+ MANDIR = $(PREFIX)/man
+ MAN1DIR = $(MANDIR)/man1
diff --git a/sysutils/dwatch/files/patch-dwatch.c b/sysutils/dwatch/files/patch-dwatch.c
new file mode 100644
index 000000000000..cc11936faedf
--- /dev/null
+++ b/sysutils/dwatch/files/patch-dwatch.c
@@ -0,0 +1,10 @@
+--- dwatch.c.orig Wed Aug 14 16:52:28 2002
++++ dwatch.c Wed Aug 14 16:52:34 2002
+@@ -17,6 +17,7 @@
+ MA 02111-1307, USA.
+ */
+
++#include <sys/types.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>