Files
macports-ports/sysutils/dwatch/files/patch-Makefile.diff

22 lines
458 B
Diff

--- 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