From 7f031ba6eb0fe44fdc78f0944d43e2b7fea8602a Mon Sep 17 00:00:00 2001 From: "R. Imura" Date: Sun, 13 Feb 2000 03:52:26 +0000 Subject: Initial import of dhcpconf-0.7.0. Neat console-based ISC DHCP server configuration-generating utility. PR: 16520 Submitted by: Will Andrews --- net/dhcpconf/files/patch-aa | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 net/dhcpconf/files/patch-aa (limited to 'net/dhcpconf/files/patch-aa') diff --git a/net/dhcpconf/files/patch-aa b/net/dhcpconf/files/patch-aa new file mode 100644 index 000000000000..b1f1467673d7 --- /dev/null +++ b/net/dhcpconf/files/patch-aa @@ -0,0 +1,34 @@ +--- Makefile Wed Dec 15 12:45:24 1999 ++++ Makefile.new Wed Jan 26 23:15:10 2000 +@@ -1,23 +1,24 @@ + TARGET = dhcp-conf +-CC = gcc +-LIBS = -lgdbm -lnewt ++CC ?= gcc ++CFLAGS = $(PCFLAGS) -I$(PREFIX)/include ++LIBS = -L$(PREFIX)/lib -lgdbm -lnewt + OBJS = main.o screen.o help.o data.o + #OPTS = -D__DEBUG__ -D__TRACE__ + + $(TARGET) : $(OBJS) +- $(CC) -o $(TARGET) $(LIBS) $(OBJS) ++ $(CC) $(CFLAGS) -o $(TARGET) $(LIBS) $(OBJS) + + main.o : main.c includes.h main-proto.h screen-proto.h +- $(CC) -c main.c $(OPTS) ++ $(CC) $(CFLAGS) -c main.c $(OPTS) + + screen.o : screen.c includes.h screen-proto.h +- $(CC) -c screen.c $(OPTS) ++ $(CC) $(CFLAGS) -c screen.c $(OPTS) + + help.o : help.c includes.h help-proto.h +- $(CC) -c help.c $(OPTS) ++ $(CC) $(CFLAGS) -c help.c $(OPTS) + + data.o : data.c includes.h data-proto.h +- $(CC) -c data.c $(OPTS) ++ $(CC) $(CFLAGS) -c data.c $(OPTS) + + install : $(TARGET) + chown root dhcp-conf -- cgit v1.2.3