]> git.pld-linux.org Git - packages/bind.git/blob - bind-link.patch
- libbind_libs patch replaced by link patch - more linking fixed
[packages/bind.git] / bind-link.patch
1 --- bind-9.2.1/lib/bind/Makefile.in~    Thu Aug  9 05:59:34 2001
2 +++ bind-9.2.1/lib/bind/Makefile.in     Fri Nov 29 16:55:09 2002
3 @@ -19,6 +19,8 @@
4  VPATH =         @srcdir@
5  top_srcdir =    @top_srcdir@
6  
7 +LIBS = @LIBS@
8 +
9  @LIBBIND_API@
10  
11  DAEMON_OBJS=bsd/daemon.@O@
12 --- bind-9.2.1/configure.in.orig        Wed Dec 25 00:03:03 2002
13 +++ bind-9.2.1/configure.in     Wed Dec 25 00:33:51 2002
14 @@ -768,8 +768,8 @@
15         mips-sgi-irix*)
16                 ;;
17         *)
18 -               AC_CHECK_LIB(socket, socket)
19 -               AC_CHECK_LIB(nsl, inet_ntoa)
20 +               AC_SEARCH_LIBS(socket, socket)
21 +               AC_SEARCH_LIBS(inet_ntoa, nsl)
22                 ;;
23  esac
24  
25 --- bind-9.2.1/lib/dns/Makefile.in.orig Thu Nov 15 02:24:06 2001
26 +++ bind-9.2.1/lib/dns/Makefile.in      Wed Dec 25 00:37:47 2002
27 @@ -30,7 +30,7 @@
28  CDEFINES =
29  CWARNINGS =
30  
31 -LIBS =         @LIBS@
32 +LIBS =         @LIBS@ ../isc/libisc.la -lcrypto
33  
34  # Alphabetically
35  
36 @@ -140,7 +140,7 @@
37         ./gen -s ${srcdir} > code.h
38  
39  gen: gen.c
40 -       ${CC} ${ALL_CFLAGS} -o $@ ${srcdir}/gen.c ${LIBS}
41 +       ${CC} ${ALL_CFLAGS} -o $@ ${srcdir}/gen.c
42  
43  rbtdb64.@O@: rbtdb.c
44  
45 --- bind-9.2.1/lib/isccc/Makefile.in.orig       Tue Jul 10 00:25:26 2001
46 +++ bind-9.2.1/lib/isccc/Makefile.in    Wed Dec 25 00:39:15 2002
47 @@ -36,7 +36,7 @@
48  ISCDEPLIBS =   ../../lib/isc/libisc.@A@
49  ISCCCDEPLIBS = libisccc.@A@
50  
51 -LIBS =         @LIBS@
52 +LIBS =         @LIBS@ ../isc/libisc.la
53  
54  SUBDIRS =      include
55  
56 --- bind-9.2.1/lib/isccfg/Makefile.in.orig      Tue Jul 10 00:25:27 2001
57 +++ bind-9.2.1/lib/isccfg/Makefile.in   Wed Dec 25 00:41:21 2002
58 @@ -36,7 +36,7 @@
59  ISCDEPLIBS =   ../../lib/isc/libisc.@A@
60  ISCCFGDEPLIBS =        libisccfg.@A@
61  
62 -LIBS =         @LIBS@
63 +LIBS =         @LIBS@ ../isc/libisc.la ../dns/libdns.la
64  
65  SUBDIRS =      include
66  
67 --- bind-9.2.1/lib/lwres/Makefile.in.orig       Tue Jul 10 20:25:37 2001
68 +++ bind-9.2.1/lib/lwres/Makefile.in    Wed Dec 25 00:30:35 2002
69 @@ -44,7 +44,8 @@
70                 lwres_gabn.c lwres_gnba.c lwres_grbn.c lwres_noop.c \
71                 lwinetaton.c lwinetpton.c lwinetntop.c
72  
73 -LIBS =         @LIBS@
74 +# -lpthread not needed here
75 +LIBS =
76  
77  SUBDIRS =      include man unix
78  TARGETS =      timestamp
79 --- bind-9.2.1/lib/bind/configure.in.orig       Wed Dec 25 01:35:07 2002
80 +++ bind-9.2.1/lib/bind/configure.in    Wed Dec 25 02:03:15 2002
81 @@ -662,9 +662,9 @@
82         mips-sgi-irix*)
83                 ;;
84         *)
85 -               AC_CHECK_LIB(d4r, gethostbyname_r)
86 -               AC_CHECK_LIB(socket, socket)
87 -               AC_CHECK_LIB(nsl, inet_ntoa)
88 +               AC_SEARCH_LIBS(gethostbyname_r, d4r)
89 +               AC_SEARCH_LIBS(socket, socket)
90 +               AC_SEARCH_LIBS(inet_ntoa, nsl)
91                 ;;
92  esac
93  
This page took 0.076932 seconds and 4 git commands to generate.