summaryrefslogtreecommitdiff
path: root/net/dnrd/files/patch-Makefile
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-03-10 19:33:51 +0000
committerWill Andrews <will@FreeBSD.org>2001-03-10 19:33:51 +0000
commitff049e43e41fa444ef0d5c27a750e9df6975a1f3 (patch)
tree26caa95d13648cc127d1260153e6228b40688b3c /net/dnrd/files/patch-Makefile
parentAdd mksunbootcd 1.0, a program to make ISO images suitible to boot on (diff)
Add dnrd 2.9, a proxy DNS daemon.
PR: 24107 Submitted by: George Reid <greid@ukug.uk.freebsd.org>
Notes
Notes: svn path=/head/; revision=39455
Diffstat (limited to 'net/dnrd/files/patch-Makefile')
-rw-r--r--net/dnrd/files/patch-Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/net/dnrd/files/patch-Makefile b/net/dnrd/files/patch-Makefile
new file mode 100644
index 000000000000..5fc2b32ec17b
--- /dev/null
+++ b/net/dnrd/files/patch-Makefile
@@ -0,0 +1,46 @@
+--- Makefile Tue Nov 2 19:47:10 1999
++++ Makefile.new Sat Mar 10 14:28:13 2001
+@@ -1,13 +1,13 @@
+-CC = gcc
+-COPT = -O2
++CC = cc
++COPT =
+ CDEF = -D_REENTRANT
+-CWARN = -Wall -Werror
+-CDBG = -ggdb
+-CFLAGS = ${CWARN} ${COPT} ${CDEF} ${CDBG}
++CWARN = -Wall
++CDBG =
++CFLAGS += ${CWARN} ${COPT} ${CDEF} ${CDBG}
+ LDFLAGS =
+-LIBS = -lpthread
+-INSTDIR = /usr/local/sbin
+-MANDIR = /usr/local/man/man8
++LIBS = -lc_r
++INSTDIR = ${PREFIX}/sbin
++MANDIR = ${PREFIX}/man/man8
+ SHELL = /bin/sh
+
+ all: dnrd
+@@ -17,17 +17,16 @@
+ rm -f dnrd core tags ID *.o *.d *~ *.bak
+
+ install: dnrd
+- strip dnrd
+- install -m 0751 -o root -g root -s dnrd ${INSTDIR}
+- install -m 0644 -o root -g root -s ../doc/dnrd.8 ${MANDIR}
++ install -m 0755 -s -o root -g wheel -s -c dnrd ${INSTDIR}
++ install -m 0544 -o root -g wheel -c ../doc/dnrd.8 ${MANDIR}
+
+ sources = args.c cache.c common.c dns.c lib.c main.c master.c \
+ query.c relay.c sig.c tcp.c udp.c
+
+-include $(sources:.c=.d)
++#include $(sources:.c=.d)
+
+ dnrd: $(sources:.c=.o)
+- $(CC) $(LDFLAGS) $(LIBS) $^ -o $@
++ $(CC) $(LDFLAGS) $(LIBS) *.o -o $@
+
+ %.d: %.c
+ @$(SHELL) -ec '$(CC) -MM $(CFLAGS) $< \