1 |
flameeyes 10/12/02 17:27:28 |
2 |
|
3 |
Added: libdnsres-0.1a-autotools.patch |
4 |
Log: |
5 |
QA: autotools cleanup via patch rather than sed; fix parallel build (and install) as it's needed to build with modern automake anyway; drop -O0 usage while at it. |
6 |
|
7 |
(Portage version: 2.2.0_alpha6/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 dev-libs/libdnsres/files/libdnsres-0.1a-autotools.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libdnsres/files/libdnsres-0.1a-autotools.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libdnsres/files/libdnsres-0.1a-autotools.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: libdnsres-0.1a-autotools.patch |
16 |
=================================================================== |
17 |
Index: libdnsres-0.1a/Makefile.am |
18 |
=================================================================== |
19 |
--- libdnsres-0.1a.orig/Makefile.am |
20 |
+++ libdnsres-0.1a/Makefile.am |
21 |
@@ -10,12 +10,12 @@ libdnsres_la_SOURCES = res_comp.c res_de |
22 |
res_data.c res_init.c res_query.c res_send.c resolv.h dnsres.h \ |
23 |
gethostnamadr.c getaddrinfo.c getservbyname.c getservent.c base64.c \ |
24 |
dnsres-internal.h |
25 |
-libdnsres_la_LIBADD = @LIBOBJS@ |
26 |
+libdnsres_la_LIBADD = @LTLIBOBJS@ |
27 |
libdnsres_la_LDFLAGS = -version-info 0:1:0 |
28 |
|
29 |
include_HEADERS = dnsres.h |
30 |
|
31 |
-CFLAGS = -Wall -O0 -g -DRESOLVSORT |
32 |
+AM_CFLAGS = -Wall -g -DRESOLVSORT |
33 |
INCLUDES = -I$(top_srcdir)/compat @EVENTINC@ |
34 |
|
35 |
man_MANS = dnsres.3 |
36 |
@@ -23,7 +23,7 @@ man_MANS = dnsres.3 |
37 |
noinst_PROGRAMS = simple_test |
38 |
simple_test_SOURCES = test/simple_test.c |
39 |
simple_test_INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/compat @EVENTINC@ |
40 |
-simple_test_LDADD = -L$(top_buildir) -ldnsres @EVENTLIB@ |
41 |
+simple_test_LDADD = libdnsres.la @EVENTLIB@ |
42 |
|
43 |
verify: libdnsres.a |
44 |
cd $(srcdir)/test && make verify |