From 4929eb7a122bb8d6479d8f603a38ac16ffbc8f51 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sat, 14 Jan 2017 01:15:51 -0500 Subject: net-dns/updatedd: add another patch to respect --docdir. Package-Manager: portage-2.3.0 --- net-dns/updatedd/files/respect-docdir.patch | 33 +++++++++++++++++++++++++++++ net-dns/updatedd/updatedd-2.6-r2.ebuild | 33 ----------------------------- net-dns/updatedd/updatedd-2.6-r3.ebuild | 33 +++++++++++++++++++++++++++++ 3 files changed, 66 insertions(+), 33 deletions(-) create mode 100644 net-dns/updatedd/files/respect-docdir.patch delete mode 100644 net-dns/updatedd/updatedd-2.6-r2.ebuild create mode 100644 net-dns/updatedd/updatedd-2.6-r3.ebuild (limited to 'net-dns/updatedd') diff --git a/net-dns/updatedd/files/respect-docdir.patch b/net-dns/updatedd/files/respect-docdir.patch new file mode 100644 index 000000000000..504220a4eb8f --- /dev/null +++ b/net-dns/updatedd/files/respect-docdir.patch @@ -0,0 +1,33 @@ +From 8e484c4b0ceac8e7c37492fdf5e5b89f18451277 Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky +Date: Sat, 14 Jan 2017 01:06:48 -0500 +Subject: [PATCH 1/1] Use the autotools "docdir" in Documentation/Makefile.in. + +--- + Documentation/Makefile.in | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/Documentation/Makefile.in b/Documentation/Makefile.in +index 8c87281..c213c09 100644 +--- a/Documentation/Makefile.in ++++ b/Documentation/Makefile.in +@@ -325,12 +325,12 @@ uninstall-am: uninstall-info-am uninstall-local + + + install-data-local: +- $(INSTALL) -d $(DESTDIR)$(datadir)/doc/updatedd +- $(INSTALL) $(srcdir)/updatedd-*.pdf $(DESTDIR)$(datadir)/doc/updatedd +- $(INSTALL) $(srcdir)/updatedd-pppd-rc $(DESTDIR)$(datadir)/doc/updatedd ++ $(INSTALL) -d $(DESTDIR)$(docdir) ++ $(INSTALL) $(srcdir)/updatedd-*.pdf $(DESTDIR)$(docdir) ++ $(INSTALL) $(srcdir)/updatedd-pppd-rc $(DESTDIR)$(docdir) + + uninstall-local: +- $(RM) -r $(DESTDIR)$(datadir)/doc/updatedd ++ $(RM) -r $(DESTDIR)$(docdir) + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: +-- +2.10.2 + diff --git a/net-dns/updatedd/updatedd-2.6-r2.ebuild b/net-dns/updatedd/updatedd-2.6-r2.ebuild deleted file mode 100644 index 155336566164..000000000000 --- a/net-dns/updatedd/updatedd-2.6-r2.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 -inherit eutils - -DESCRIPTION="Dynamic DNS client with plugins for several dynamic dns services" -HOMEPAGE="https://savannah.nongnu.org/projects/updatedd/" -SRC_URI="https://savannah.nongnu.org/download/updatedd/${PN}_${PV}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~x86" -IUSE="" - -RDEPEND="" -DEPEND="" - -PATCHES=( - "${FILESDIR}/${P}-options.patch" - "${FILESDIR}/fix-ovh-DYNDNSHOST.patch" -) - -src_configure() { - econf --disable-static -} - -src_install() { - default - mv "${D}/usr/share/doc/updatedd" "${D}/usr/share/doc/${PF}" || die - prune_libtool_files -} diff --git a/net-dns/updatedd/updatedd-2.6-r3.ebuild b/net-dns/updatedd/updatedd-2.6-r3.ebuild new file mode 100644 index 000000000000..fbbc113a1be8 --- /dev/null +++ b/net-dns/updatedd/updatedd-2.6-r3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils + +DESCRIPTION="Dynamic DNS client with plugins for several dynamic dns services" +HOMEPAGE="https://savannah.nongnu.org/projects/updatedd/" +SRC_URI="https://savannah.nongnu.org/download/updatedd/${PN}_${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86" +IUSE="" + +DEPEND="" +RDEPEND="dev-lang/perl" + +PATCHES=( + "${FILESDIR}/${P}-options.patch" + "${FILESDIR}/fix-ovh-DYNDNSHOST.patch" + "${FILESDIR}/respect-docdir.patch" +) + +src_configure() { + econf --disable-static --docdir="/usr/share/doc/${PF}" +} + +src_install() { + default + prune_libtool_files +} -- cgit v1.2.3-65-gdbad