1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/sysutils/wmmon/files/patch-aa
Jun Kuriyama ce44d21673 Fix to compile on -current (and others).
Change MAINTAINER to Stephen Kiernam <sk-ports@vegamuse.org>.

PR:			ports/11880
Submitted by:		Stephen Kiernam <sk-ports@vegamuse.org>
No response from:	old maintainer
1999-06-14 13:29:14 +00:00

53 lines
1.0 KiB
Plaintext

*** ../../wmmon.app/wmmon/Makefile.orig Tue May 19 17:13:16 1998
--- ../../wmmon.app/wmmon/Makefile Mon May 24 21:38:45 1999
***************
*** 1,19 ****
! LIBDIR = -L/usr/X11R6/lib
! LIBS = -lXpm -lXext -lX11
! OBJS = wmmon.o \
! ../wmgeneral/wmgeneral.o \
! ../wmgeneral/misc.o \
! ../wmgeneral/list.o
!
.c.o:
! cc -c -O2 -Wall $< -o $*.o
! wmmon: $(OBJS)
! cc -o wmmon $^ $(LIBDIR) $(LIBS)
clean::
! for i in $(OBJS) ; do \
! rm $$i;\
! done
! rm wmmon
--- 1,28 ----
! #
! # Makefile for FreeBSD 3.x and 4.0 versions of wmmon
! #
! LIBDIR = -L/usr/X11R6/lib
! LIBS = -lXpm -lXext -lX11 -lkvm -ldevstat
! CFLAGS ?= -O2
! CFLAGS += -g -Wall -I/usr/X11R6/include
! OBJS = wmmon.o \
! ../wmgeneral/wmgeneral.o \
! ../wmgeneral/misc.o \
! ../wmgeneral/list.o
! PROG = wmmon
.c.o:
! ${CC} -c $(CFLAGS) $< -o $*.o
!
! $(PROG): $(OBJS)
! ${CC} -o $@ $> -lXext $(LIBDIR) $(LIBS)
! all:: $(PROG)
clean::
! rm -f $(OBJS)
! rm -f $(PROG)
!
! install::
! install -c -g kmem -m 2755 -o root $(PROG) ${PREFIX}/bin
!