summaryrefslogtreecommitdiff
path: root/net/maradns/patches/patch-aj
diff options
context:
space:
mode:
Diffstat (limited to 'net/maradns/patches/patch-aj')
-rw-r--r--net/maradns/patches/patch-aj30
1 files changed, 30 insertions, 0 deletions
diff --git a/net/maradns/patches/patch-aj b/net/maradns/patches/patch-aj
new file mode 100644
index 00000000000..6b26645c15e
--- /dev/null
+++ b/net/maradns/patches/patch-aj
@@ -0,0 +1,30 @@
+$NetBSD: patch-aj,v 1.1 2005/05/13 13:25:55 salo Exp $
+
+--- parse/Makefile.orig 2003-08-02 21:39:36.000000000 +0200
++++ parse/Makefile 2005-05-13 15:02:44.000000000 +0200
+@@ -5,10 +5,12 @@
+ OBJECTS=$(JOBJS) $(MJOBJS) $(POBJECTS) $(DOBJECTS)
+ EXECS=parsetest parsetest2
+
+-FLAGS = -g -O2 -Wall $(DEBUG)
++FLAGS = -g -O2 -Wall $(DEBUG) $(CFLAGS)
+ #FLAGS = -g $(DEBUG)
+
+-all: $(EXECS)
++all: $(POBJECTS)
++
++test: $(EXECS)
+
+ clean:
+ rm -f $(POBJECTS) core $(EXECS)
+@@ -26,8 +28,8 @@
+ $(CC) -c $(FLAGS) -o ParseIpAcl.o ParseIpAcl.c
+
+ parsetest: parsetest.c $(OBJECTS)
+- $(CC) $(FLAGS) -o parsetest parsetest.c $(OBJECTS)
++ $(CC) $(FLAGS) -o parsetest parsetest.c $(OBJECTS) $(LDFLAGS)
+
+ parsetest2: parsetest2.c $(OBJECTS)
+- $(CC) $(FLAGS) -o parsetest2 parsetest2.c $(OBJECTS)
++ $(CC) $(FLAGS) -o parsetest2 parsetest2.c $(OBJECTS) $(LDFLAGS)
+