diff options
Diffstat (limited to 'dev-libs/libdnsres/files/libdnsres-0.1a-autotools.patch')
-rw-r--r-- | dev-libs/libdnsres/files/libdnsres-0.1a-autotools.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-libs/libdnsres/files/libdnsres-0.1a-autotools.patch b/dev-libs/libdnsres/files/libdnsres-0.1a-autotools.patch new file mode 100644 index 000000000000..3e2466af57f7 --- /dev/null +++ b/dev-libs/libdnsres/files/libdnsres-0.1a-autotools.patch @@ -0,0 +1,28 @@ +Index: libdnsres-0.1a/Makefile.am +=================================================================== +--- libdnsres-0.1a.orig/Makefile.am ++++ libdnsres-0.1a/Makefile.am +@@ -10,12 +10,12 @@ libdnsres_la_SOURCES = res_comp.c res_de + res_data.c res_init.c res_query.c res_send.c resolv.h dnsres.h \ + gethostnamadr.c getaddrinfo.c getservbyname.c getservent.c base64.c \ + dnsres-internal.h +-libdnsres_la_LIBADD = @LIBOBJS@ ++libdnsres_la_LIBADD = @LTLIBOBJS@ + libdnsres_la_LDFLAGS = -version-info 0:1:0 + + include_HEADERS = dnsres.h + +-CFLAGS = -Wall -O0 -g -DRESOLVSORT ++AM_CFLAGS = -Wall -g -DRESOLVSORT + INCLUDES = -I$(top_srcdir)/compat @EVENTINC@ + + man_MANS = dnsres.3 +@@ -23,7 +23,7 @@ man_MANS = dnsres.3 + noinst_PROGRAMS = simple_test + simple_test_SOURCES = test/simple_test.c + simple_test_INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/compat @EVENTINC@ +-simple_test_LDADD = -L$(top_buildir) -ldnsres @EVENTLIB@ ++simple_test_LDADD = libdnsres.la @EVENTLIB@ + + verify: libdnsres.a + cd $(srcdir)/test && make verify |