Lines 1-5
Link Here
|
1 |
--- mDNSPosix/Makefile.orig 2011-11-03 08:23:39.000000000 +0800 |
1 |
--- mDNSPosix/Makefile.orig 2012-10-18 00:11:12.000000000 +0200 |
2 |
+++ mDNSPosix/Makefile 2013-10-13 02:29:12.791431406 +0800 |
2 |
+++ mDNSPosix/Makefile 2013-12-09 18:39:26.000000000 +0100 |
3 |
@@ -54,7 +54,7 @@ |
3 |
@@ -54,7 +54,7 @@ |
4 |
SHAREDDIR ?= ../mDNSShared |
4 |
SHAREDDIR ?= ../mDNSShared |
5 |
JDK = /usr/jdk |
5 |
JDK = /usr/jdk |
Lines 18-24
Link Here
|
18 |
# FreeBSD 4 requires threaded code to be compiled and linked using the "-pthread" option, |
18 |
# FreeBSD 4 requires threaded code to be compiled and linked using the "-pthread" option, |
19 |
# and requires that the "-lpthread" link option NOT be used |
19 |
# and requires that the "-lpthread" link option NOT be used |
20 |
# This appies only to FreeBSD -- "man cc" on FreeBSD says: |
20 |
# This appies only to FreeBSD -- "man cc" on FreeBSD says: |
21 |
@@ -216,7 +216,7 @@ |
21 |
@@ -133,6 +133,7 @@ |
|
|
22 |
LINKOPTS_PTHREAD = -pthread |
23 |
JAVACFLAGS_OS += -I$(JDK)/include/freebsd |
24 |
LDCONFIG = ldconfig |
25 |
+BISON = @yacc |
26 |
else |
27 |
|
28 |
ifeq ($(os),openbsd) |
29 |
@@ -216,7 +217,7 @@ |
22 |
|
30 |
|
23 |
all: setup Daemon libdns_sd Clients SAClient SAResponder SAProxyResponder Identify NetMonitor dnsextd $(OPTIONALTARG) |
31 |
all: setup Daemon libdns_sd Clients SAClient SAResponder SAProxyResponder Identify NetMonitor dnsextd $(OPTIONALTARG) |
24 |
|
32 |
|
Lines 27-33
Link Here
|
27 |
|
35 |
|
28 |
# 'setup' sets up the build directory structure the way we want |
36 |
# 'setup' sets up the build directory structure the way we want |
29 |
setup: |
37 |
setup: |
30 |
@@ -259,10 +259,10 @@ |
38 |
@@ -259,10 +260,10 @@ |
31 |
@$(LD) $(LINKOPTS) -o $@ $+ |
39 |
@$(LD) $(LINKOPTS) -o $@ $+ |
32 |
@$(STRIP) $@ |
40 |
@$(STRIP) $@ |
33 |
|
41 |
|
Lines 40-46
Link Here
|
40 |
@$(MAKE) -C ../Clients |
48 |
@$(MAKE) -C ../Clients |
41 |
|
49 |
|
42 |
# nss_mdns target builds the Name Service Switch module |
50 |
# nss_mdns target builds the Name Service Switch module |
43 |
@@ -276,43 +276,43 @@ |
51 |
@@ -276,43 +277,43 @@ |
44 |
############################################################################# |
52 |
############################################################################# |
45 |
|
53 |
|
46 |
# The Install targets place built stuff in their proper places |
54 |
# The Install targets place built stuff in their proper places |
Lines 95-101
Link Here
|
95 |
$(CP) $< $@ |
103 |
$(CP) $< $@ |
96 |
chmod ugo+x $@ |
104 |
chmod ugo+x $@ |
97 |
$@ start |
105 |
$@ start |
98 |
@@ -329,26 +329,26 @@ |
106 |
@@ -329,26 +330,26 @@ |
99 |
endif |
107 |
endif |
100 |
endif |
108 |
endif |
101 |
|
109 |
|
Lines 128-134
Link Here
|
128 |
$(CP) $< $@ |
136 |
$(CP) $< $@ |
129 |
chmod 444 $@ |
137 |
chmod 444 $@ |
130 |
|
138 |
|
131 |
@@ -490,6 +490,8 @@ |
139 |
@@ -490,6 +491,8 @@ |
132 |
$(BUILDDIR)/dnsextd: $(DNSEXTDOBJ) $(OBJDIR)/dnsextd.c.threadsafe.o |
140 |
$(BUILDDIR)/dnsextd: $(DNSEXTDOBJ) $(OBJDIR)/dnsextd.c.threadsafe.o |
133 |
$(CC) $+ -o $@ $(LINKOPTS) $(LINKOPTS_PTHREAD) |
141 |
$(CC) $+ -o $@ $(LINKOPTS) $(LINKOPTS_PTHREAD) |