Summary: | dev-util/ccache: use readme.gentoo.eclass | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christoph Junghans (RETIRED) <junghans> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | pacho |
Priority: | Normal | Keywords: | Inclusion, PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 434250 | ||
Attachments: |
patch against ccache-3.1.9-r2.ebuild
patch against ccache-3.1.9-r2.ebuild |
Comment on attachment 359708 [details, diff] patch against ccache-3.1.9-r2.ebuild >+ DOC_CONTENTS="To use ccache with **non-Portage** C compiling, add >+ ${EPREFIX}/usr/$(get_libdir)/ccache/bin to the beginning of your path, before ${EPREFIX}usr/bin. >+ Portage 2.0.46-r11+ will automatically take advantage of ccache with >+ no additional steps. If this is your first install of ccache, type >+ something like this to set a maximum cache size of 2GB:\\n# ccache -M 2G\\n >+ If you are upgrading from an older version than 3.x you should clear all of your caches like so:\\n >+ # CCACHE_DIR='${CCACHE_DIR:-${PORTAGE_TMPDIR}/ccache}' ccache -C\\n >+ ccache now supports sys-devel/clang and dev-lang/icc, too!" this isn't readable at all move it to the end of src_install before you call create doc and reformat it: DOC_CONTENTS=" To use ccache with **non-Portage** C compiling, add ..... ......\\n # ccache -M 2G\\n If you are upgrading from an older version ...... " the other alternative is to not use a README at all. instead, put the documentation into ccache-config --help. that's where people usually start. Created attachment 359710 [details, diff]
patch against ccache-3.1.9-r2.ebuild
Reformatted! I will leave it to somebody else to modity ccache-config --help.
Comment on attachment 359710 [details, diff] patch against ccache-3.1.9-r2.ebuild (In reply to Christoph Junghans from comment #3) i meant doing the --help in place of the gentoo readme, not in addition to feel free to commit this patch though I would replace the readme.gentoo_pkg_postinst by readme.gentoo_print_elog and move it to the pkg_postinst phase +*ccache-3.1.9-r3 (21 Oct 2013) + + 21 Oct 2013; Christoph Junghans <ottxor@gentoo.org> +ccache-3.1.9-r3.ebuild: + use readme.gentoo.eclass (bug #486404) + |
Created attachment 359708 [details, diff] patch against ccache-3.1.9-r2.ebuild Just moved the elog messages into DOC_CONTENTS.