1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/sysutils/asmem/files/patch-aa
Will Andrews 152cd3d823 Update to 1.6. Set this port BROKEN on 4.0+; I confirmed that bento is
correct in that sys/rlist.h is not on 4.0+. If some kind soul would like
to fix this, that'd be nice. This update also fixes CFLAGS ignorance.

PR:			16692
Not objected to by:	maintainer
2000-04-23 05:36:11 +00:00

36 lines
962 B
Plaintext

--- Makefile.UNIX Sat Mar 6 09:13:53 1999
+++ Makefile.UNIX.new Sun Feb 13 01:23:54 2000
@@ -5,19 +5,19 @@
# The location and names of the X11 libraries
LDIR = -L/usr/X11R6/lib
-LIBS = -lXpm -lX11
+LIBS = -lXpm -lX11 -lkvm
# The include path to the X11 files
C_INCLUDE = -I. -I/usr/X11R6/include
#-----------------------------------------------------
-CC = gcc
+CC ?= gcc
COPTS = -O2 -pipe -Wall -Wshadow
#COMPILE_FLAGS = -DDEBUG -DTEST -g
-CFLAGS = $(COPTS) $(COMPILE_FLAGS) $(C_INCLUDE)
+CFLAGS = $(PCFLAGS) $(COPTS) $(COMPILE_FLAGS) $(C_INCLUDE)
-OBJ = asmem.o asmem_x.o read_mem.o x_color.o safecopy.o
+OBJ = asmem.o asmem_x.o kvm_read.o x_color.o safecopy.o
all: asmem
@echo Ready.
@@ -34,7 +34,7 @@
x_color.o: x_color.c
$(CC) -c $< $(CFLAGS) -o $@
-read_mem.o: read_mem.h read_mem.c state.h
+kvm_read.o: read_mem.h kvm_read.c state.h
$(CC) -c $< $(CFLAGS) -o $@
asmem_x.o: asmem_x.c asmem_x.h x_color.h safecopy.h state.h\