diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-12-02 17:27:28 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-12-02 17:27:28 +0000 |
commit | df41eddf8ccb7b8fd6e1ff5d06d58054d643d52d (patch) | |
tree | 9327ecd756c969949834122820a0b9bbb344918a /dev-libs/libdnsres | |
parent | minor fixes; fixed #339328 dont respect LDFLAGS (diff) | |
download | historical-df41eddf8ccb7b8fd6e1ff5d06d58054d643d52d.tar.gz historical-df41eddf8ccb7b8fd6e1ff5d06d58054d643d52d.tar.bz2 historical-df41eddf8ccb7b8fd6e1ff5d06d58054d643d52d.zip |
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.
Package-Manager: portage-2.2.0_alpha6/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/libdnsres')
-rw-r--r-- | dev-libs/libdnsres/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/libdnsres/Manifest | 15 | ||||
-rw-r--r-- | dev-libs/libdnsres/files/libdnsres-0.1a-autotools.patch | 28 | ||||
-rw-r--r-- | dev-libs/libdnsres/libdnsres-0.1a-r1.ebuild | 20 |
4 files changed, 56 insertions, 17 deletions
diff --git a/dev-libs/libdnsres/ChangeLog b/dev-libs/libdnsres/ChangeLog index 3895c31e9a23..84d3266a8347 100644 --- a/dev-libs/libdnsres/ChangeLog +++ b/dev-libs/libdnsres/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/libdnsres -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdnsres/ChangeLog,v 1.11 2007/11/16 15:30:03 beandog Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdnsres/ChangeLog,v 1.12 2010/12/02 17:27:28 flameeyes Exp $ + + 02 Dec 2010; Diego E. Pettenò <flameeyes@gentoo.org> + libdnsres-0.1a-r1.ebuild, +files/libdnsres-0.1a-autotools.patch: + 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. 16 Nov 2007; Steve Dibb <beandog@gentoo.org> libdnsres-0.1a-r1.ebuild: amd64 stable, bug 192446 diff --git a/dev-libs/libdnsres/Manifest b/dev-libs/libdnsres/Manifest index 74fd488cc58a..fd22454b5b15 100644 --- a/dev-libs/libdnsres/Manifest +++ b/dev-libs/libdnsres/Manifest @@ -1,4 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX libdnsres-0.1a-autotools.patch 1020 RMD160 7b8866e9f45f2dc750ecd383b210b1f39279afd4 SHA1 cbc231b2541ccf5e68bf97c093e722f221b290f4 SHA256 cdd773f7132846f1ad78d4623c9d0478cad89d2457288b587f7a4427d73a73f2 DIST libdnsres-0.1a.tar.gz 360583 RMD160 05a92882d1fc0394792e9f28be4584650b46e323 SHA1 570b5d8071dacf16ba7588d6c3fc6f4c3ed55976 SHA256 c0b94f27cb537eed42bc32ca9771f0955f717c66d34d1361e0a75600c6589307 -EBUILD libdnsres-0.1a-r1.ebuild 940 RMD160 c542af26225593075fc101dfc484590c9721a3a8 SHA1 fa7558a23ae8c090541084e90eb600f23ef48f41 SHA256 b76da010682434d7c6a6dd7e22f71f7318b1def2a9fca99fc669408ef2f15e43 -MISC ChangeLog 1575 RMD160 9b736fec4e89c3917074ef6c00135a7842f41ef2 SHA1 1c4ad65f075a9749e08b4b0153b87f2c9c94966b SHA256 ba5fc63db33bd2e822839778b559af22dc359a0135b143c9bc7dc4f152256672 +EBUILD libdnsres-0.1a-r1.ebuild 706 RMD160 838b7fc6790c782fa83538df89654d9a87693ece SHA1 494481cf1b582cf470992f00ae12ade67363a9bc SHA256 8650659841de7a13c317a6306594a8cd9c0c2ff9acef826d3e60fc9d89e064fe +MISC ChangeLog 1870 RMD160 99217649d9dc9f3c6a704f9d9aeff29b8978ff31 SHA1 f450eba33fbbfd962f7ce05f4086a5b5c32117db SHA256 ea2f5c9a323c109232507e2cc2d7a7485b1dfeecfdf598e779bd31d914dde839 MISC metadata.xml 701 RMD160 95f214128b50d23e683b4c0cf52127166602cf05 SHA1 35eb9f68c576433f3da569d06953b0f4029323c6 SHA256 9ef1176285d7ce7a84f1de5b59111ab8a3b068e8ef57941d37ea032d28b64397 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.16 (GNU/Linux) + +iEYEARECAAYFAkz31vMACgkQAiZjviIA2XihAgCgxms4DTi8SgJyfba+MHYOchRL +OSwAn37IJBLBY7f4EiiAh83RZtxjTqRf +=h0Ew +-----END PGP SIGNATURE----- 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 diff --git a/dev-libs/libdnsres/libdnsres-0.1a-r1.ebuild b/dev-libs/libdnsres/libdnsres-0.1a-r1.ebuild index 31e81af9650f..c84559f8f08d 100644 --- a/dev-libs/libdnsres/libdnsres-0.1a-r1.ebuild +++ b/dev-libs/libdnsres/libdnsres-0.1a-r1.ebuild @@ -1,9 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdnsres/libdnsres-0.1a-r1.ebuild,v 1.8 2007/11/16 15:30:03 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdnsres/libdnsres-0.1a-r1.ebuild,v 1.9 2010/12/02 17:27:28 flameeyes Exp $ -WANT_AUTOMAKE=1.8 -inherit autotools +inherit eutils autotools DESCRIPTION="A non-blocking DNS resolver library" HOMEPAGE="http://www.monkey.org/~provos/libdnsres/" @@ -19,18 +18,13 @@ DEPEND="dev-libs/libevent" src_unpack() { unpack ${A} cd "${S}" - sed -i -e "s:LIBOBJS:LTLIBOBJS:" \ - -e "s:CFLAGS:AM_CFLAGS:" Makefile.am || die "sed of Makefile.am failed" - # See Makefile.in for automake version upstream dev uses. - eautomake || die "automake failed" -} -src_compile() { - econf || die "econf failed" - emake -j1 || die "make failed" + epatch "${FILESDIR}/${P}-autotools.patch" + + eautoreconf } src_install() { - make DESTDIR="${D}" install || die "make install failed" + emake DESTDIR="${D}" install || die "make install failed" dodoc README } |