freebsd-ports/sysutils/slst/files/patch-Makefile
Pav Lucistnik 29b876340c slst generates statistics from the output of syslog.
With slst one can find tendencies and unexpected changes in the behaviour of
the running processes.

WWW: http://www.vanheusden.com/recoverdm/

PR:		ports/92155
Submitted by:	Jeffrey H. Johnson <CPE1704TKS@bellsouth.net>
2006-01-23 21:03:30 +00:00

50 lines
843 B
Text

*** Makefile.orig Sun Jan 22 07:29:28 2006
--- Makefile Sun Jan 22 07:38:16 2006
***************
*** 1,10 ****
! CC=gcc
! CXXFLAGS=-Wall -O2
! CFLAGS=-Wall -O2
! LDFLAGS=-lstdc++
VERSION=0.2
OBJS=slst.o error.o utils.o intcnt.o array.o
all: slst
--- 1,10 ----
! #CC=gcc
! #CXXFLAGS=-Wall -O2
! #CFLAGS=-Wall -O2
! LDFLAGS+=-lstdc++
VERSION=0.2
OBJS=slst.o error.o utils.o intcnt.o array.o
all: slst
***************
*** 12,22 ****
slst: $(OBJS)
$(CC) -Wall -W $(OBJS) $(LDFLAGS) -o slst
# strip slst
install: slst
! cp slst /usr/bin
clean:
rm -f $(OBJS) slst core
package: clean
--- 12,22 ----
slst: $(OBJS)
$(CC) -Wall -W $(OBJS) $(LDFLAGS) -o slst
# strip slst
install: slst
! ${INSTALL} -m 755 slst ${PREFIX}/bin
clean:
rm -f $(OBJS) slst core
package: clean