Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 582734 | Differences between
and this patch

Collapse All | Expand All

(-)a/sys-devel/automake/automake-1.15-r2.ebuild (-22 / +10 lines)
Lines 2-10 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Id$
3
# $Id$
4
4
5
EAPI="4"
5
EAPI="6"
6
6
7
inherit eutils versionator
7
inherit versionator
8
8
9
if [[ ${PV/_beta} == ${PV} ]]; then
9
if [[ ${PV/_beta} == ${PV} ]]; then
10
	MY_P=${P}
10
	MY_P=${P}
Lines 36-54 DEPEND="${RDEPEND} Link Here
36
36
37
S="${WORKDIR}/${MY_P}"
37
S="${WORKDIR}/${MY_P}"
38
38
39
src_prepare() {
39
PATCHES=( "${FILESDIR}"/${PN}-1.15-perl-escape-curly-bracket.patch
40
	export WANT_AUTOCONF=2.5
40
		  "${FILESDIR}"/${PN}-1.15-mdate-tz.patch ) #520818 #574492
41
	epatch "${FILESDIR}"/${PN}-1.15-perl-escape-curly-bracket.patch
42
	epatch "${FILESDIR}"/${PN}-1.15-mdate-tz.patch #520818 #574492
43
}
44
45
src_configure() {
46
	econf --docdir=/usr/share/doc/${PF} HELP2MAN=true
47
}
48
49
src_compile() {
50
	emake APIVERSION="${SLOT}" pkgvdatadir="/usr/share/${PN}-${SLOT}"
51
}
52
41
53
src_test() {
42
src_test() {
54
	emake check
43
	emake check
Lines 57-63 src_test() { Link Here
57
# slot the info pages.  do this w/out munging the source so we don't have
46
# slot the info pages.  do this w/out munging the source so we don't have
58
# to depend on texinfo to regen things.  #464146 (among others)
47
# to depend on texinfo to regen things.  #464146 (among others)
59
slot_info_pages() {
48
slot_info_pages() {
60
	pushd "${D}"/usr/share/info >/dev/null
49
	pushd "${ED}"/usr/share/info >/dev/null
61
	rm -f dir
50
	rm -f dir
62
51
63
	# Rewrite all the references to other pages.
52
	# Rewrite all the references to other pages.
Lines 84-99 slot_info_pages() { Link Here
84
}
73
}
85
74
86
src_install() {
75
src_install() {
87
	emake DESTDIR="${D}" install \
76
	emake DESTDIR="${D}" install
88
		APIVERSION="${SLOT}" pkgvdatadir="/usr/share/${PN}-${SLOT}"
89
	slot_info_pages
77
	slot_info_pages
90
	rm "${D}"/usr/share/aclocal/README || die
78
	rm "${ED}"/usr/share/aclocal/README || die
91
	rmdir "${D}"/usr/share/aclocal || die
79
	rmdir "${ED}"/usr/share/aclocal || die
92
	dodoc AUTHORS ChangeLog NEWS README THANKS
80
	dodoc AUTHORS ChangeLog NEWS README THANKS
93
81
94
	rm \
82
	rm \
95
		"${D}"/usr/bin/{aclocal,automake} \
83
		"${ED}"/usr/bin/{aclocal,automake} \
96
		"${D}"/usr/share/man/man1/{aclocal,automake}.1 || die
84
		"${ED}"/usr/share/man/man1/{aclocal,automake}.1 || die
97
85
98
	# remove all config.guess and config.sub files replacing them
86
	# remove all config.guess and config.sub files replacing them
99
	# w/a symlink to a specific gnuconfig version
87
	# w/a symlink to a specific gnuconfig version

Return to bug 582734