From d96fd8e30a2900c308d34b9921640eaed7989e9a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 17 Apr 2007 00:35:11 +0000 Subject: [PATCH] Add support for USE=examples as suggested by Paulo da Silva #174798. Package-Manager: portage-2.1.2.3 --- sys-devel/m4/ChangeLog | 5 ++++- sys-devel/m4/Manifest | 22 +++++++++++----------- sys-devel/m4/m4-1.4.9.ebuild | 9 +++++++-- 3 files changed, 22 insertions(+), 14 deletions(-) diff --git a/sys-devel/m4/ChangeLog b/sys-devel/m4/ChangeLog index 8745146556e7..679ee704d403 100644 --- a/sys-devel/m4/ChangeLog +++ b/sys-devel/m4/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-devel/m4 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/m4/ChangeLog,v 1.81 2007/04/12 17:05:38 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/m4/ChangeLog,v 1.82 2007/04/17 00:35:11 vapier Exp $ + + 17 Apr 2007; Mike Frysinger m4-1.4.9.ebuild: + Add support for USE=examples as suggested by Paulo da Silva #174798. 12 Apr 2007; Roy Marples m4-1.4.9.ebuild: Don't install charset.alias to avoid collisions - libc or libiconv will diff --git a/sys-devel/m4/Manifest b/sys-devel/m4/Manifest index c63a4ce24e86..5cc96f47b3c8 100644 --- a/sys-devel/m4/Manifest +++ b/sys-devel/m4/Manifest @@ -12,14 +12,14 @@ EBUILD m4-1.4.8.ebuild 905 RMD160 115e845cf8b9ef4dab6c8a11316eac5e09a19d48 SHA1 MD5 205f4c6da9e359e204d19f20b5ae5e9f m4-1.4.8.ebuild 905 RMD160 115e845cf8b9ef4dab6c8a11316eac5e09a19d48 m4-1.4.8.ebuild 905 SHA256 86287e6ef5556327f8afa301de1ccb7ff04b0ce534a0a68c3502f304cabf42e4 m4-1.4.8.ebuild 905 -EBUILD m4-1.4.9.ebuild 961 RMD160 c8481c2f4fc96d7b2e1edd9c743cbda8c5bed1bf SHA1 4f13c1b65cc81b49a3c52616d351f11a08150b44 SHA256 19da44ce6aa06b46dd3db1dedaf7bfe44ffb6e0d50b8b62c2fde6d3199983b40 -MD5 9234d08e1986e5a3544555a5a33eabef m4-1.4.9.ebuild 961 -RMD160 c8481c2f4fc96d7b2e1edd9c743cbda8c5bed1bf m4-1.4.9.ebuild 961 -SHA256 19da44ce6aa06b46dd3db1dedaf7bfe44ffb6e0d50b8b62c2fde6d3199983b40 m4-1.4.9.ebuild 961 -MISC ChangeLog 8939 RMD160 b4dd0036a71eaa6ce840122a2651838a60a9584b SHA1 7a6df124c844f2513126985e6a4bc5ba95de5f12 SHA256 74ce2eec80e6e01200310cfa05b66d64cfe6ef31f3fe85dba4e14b9d4dd2b4e7 -MD5 0f2ecfd124e9ab1486f76c5150e8096a ChangeLog 8939 -RMD160 b4dd0036a71eaa6ce840122a2651838a60a9584b ChangeLog 8939 -SHA256 74ce2eec80e6e01200310cfa05b66d64cfe6ef31f3fe85dba4e14b9d4dd2b4e7 ChangeLog 8939 +EBUILD m4-1.4.9.ebuild 1090 RMD160 21d639de559a5e70703af14356220af6bdb17d9e SHA1 aba171ba66080ed89f32d605dee16ffb49fb9ed7 SHA256 7fdaf464379c0a5d4caa2b1ee171b367d71269f825cfba7c749c13be9113f4e6 +MD5 77126d59b915bfcb1bd84084b4bb04f9 m4-1.4.9.ebuild 1090 +RMD160 21d639de559a5e70703af14356220af6bdb17d9e m4-1.4.9.ebuild 1090 +SHA256 7fdaf464379c0a5d4caa2b1ee171b367d71269f825cfba7c749c13be9113f4e6 m4-1.4.9.ebuild 1090 +MISC ChangeLog 9076 RMD160 171b7e3d3c8bf56fb220575618bbfcf72459ae03 SHA1 9e2e6af991da68b684eb28ca4b495e77f0e10323 SHA256 10eaadb73005a4e8adc0dbbb6b9099c17693786665c1344c9d57ba12c1b3cb3d +MD5 d6f4f7dc7ed75c17326d61a549e52dc0 ChangeLog 9076 +RMD160 171b7e3d3c8bf56fb220575618bbfcf72459ae03 ChangeLog 9076 +SHA256 10eaadb73005a4e8adc0dbbb6b9099c17693786665c1344c9d57ba12c1b3cb3d ChangeLog 9076 MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164 @@ -36,7 +36,7 @@ SHA256 f8b34c06c50e1667d12b18619d3f5260e6bd116f74343851798cc3650d175597 files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (GNU/Linux) -iD8DBQFGJBVi8bi6rjpTunYRAsT9AJwM9onFQpaXs7CVoO7dqpWd2i2UYwCeLNtx -ZIYrMtgpet5KaZmNJ4ZI6dE= -=amdg +iD8DBQFGJBZM8bi6rjpTunYRAtF/AJ9au3HBuv2j0MJ+K1el8MQ3kin1IwCgy+Cm +ULr6QTbpf2ltbkEUGTCOxvk= +=eqiZ -----END PGP SIGNATURE----- diff --git a/sys-devel/m4/m4-1.4.9.ebuild b/sys-devel/m4/m4-1.4.9.ebuild index e1e12ee76185..313783a04cc8 100644 --- a/sys-devel/m4/m4-1.4.9.ebuild +++ b/sys-devel/m4/m4-1.4.9.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/m4/m4-1.4.9.ebuild,v 1.4 2007/04/12 18:49:21 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/m4/m4-1.4.9.ebuild,v 1.5 2007/04/17 00:35:11 vapier Exp $ DESCRIPTION="GNU macro processor" HOMEPAGE="http://www.gnu.org/software/m4/m4.html" @@ -10,7 +10,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2 LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" -IUSE="nls" +IUSE="examples nls" # remember: cannot dep on autoconf since it needs us DEPEND="nls? ( sys-devel/gettext )" @@ -30,5 +30,10 @@ src_compile() { src_install() { emake install DESTDIR="${D}" || die dodoc BACKLOG ChangeLog NEWS README* THANKS TODO + if use examples ; then + docinto examples + dodoc examples/* + rm -f "${D}"/usr/share/doc/${PF}/examples/Makefile* + fi rm -f "${D}"/usr/lib/charset.alias #172864 } -- 2.26.2