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

Collapse All | Expand All

(-)rrdtool-1.4.2.ebuild (-18 / +5 lines)
Lines 31-40 Link Here
31
DEPEND="${RDEPEND}
31
DEPEND="${RDEPEND}
32
	sys-apps/gawk"
32
	sys-apps/gawk"
33
33
34
pkg_setup() {
35
	use perl && perl-module_pkg_setup
36
}
37
38
src_prepare() {
34
src_prepare() {
39
	epatch "${FILESDIR}/rrdtool-1.3.8-configure.ac.patch"
35
	epatch "${FILESDIR}/rrdtool-1.3.8-configure.ac.patch"
40
	sed -i '/PERLLD/s:same as PERLCC:same-as-PERLCC:' configure.ac #281694
36
	sed -i '/PERLLD/s:same as PERLCC:same-as-PERLCC:' configure.ac #281694
Lines 53-58 Link Here
53
		$(use_enable ruby ruby-site-install) \
49
		$(use_enable ruby ruby-site-install) \
54
		$(use_enable perl) \
50
		$(use_enable perl) \
55
		$(use_enable perl perl-site-install) \
51
		$(use_enable perl perl-site-install) \
52
		--with-perl-options=INSTALLDIRS=vendor \
56
		$(use_enable tcl) \
53
		$(use_enable tcl) \
57
		$(use_with tcl tcllib /usr/$(get_libdir)) \
54
		$(use_with tcl tcllib /usr/$(get_libdir)) \
58
		$(use_enable python)
55
		$(use_enable python)
Lines 65-81 Link Here
65
		rm -rf "${D}"/usr/share/doc/${PF}/{html,txt}
62
		rm -rf "${D}"/usr/share/doc/${PF}/{html,txt}
66
	fi
63
	fi
67
64
68
	use perl && fixlocalpod
65
	if use perl ; then
66
		fixlocalpod
67
		perl_delete_packlist
68
	fi
69
69
70
	dodoc CHANGES CONTRIBUTORS NEWS README THREADS TODO
70
	dodoc CHANGES CONTRIBUTORS NEWS README THREADS TODO
71
}
71
}
72
72
73
pkg_preinst() {
74
	use perl && perl-module_pkg_preinst
75
}
76
77
pkg_postinst() {
73
pkg_postinst() {
78
	use perl && perl-module_pkg_postinst
79
	ewarn "rrdtool dump 1.3 does emit completely legal xml. Basically this means that"
74
	ewarn "rrdtool dump 1.3 does emit completely legal xml. Basically this means that"
80
	ewarn "it contains an xml header and a DOCTYPE definition. Unfortunately this"
75
	ewarn "it contains an xml header and a DOCTYPE definition. Unfortunately this"
81
	ewarn "causes older versions of rrdtool restore to be unhappy."
76
	ewarn "causes older versions of rrdtool restore to be unhappy."
Lines 88-98 Link Here
88
	ewarn "upgraded from rrdtool-1.2.x and don't have any font installed to make"
83
	ewarn "upgraded from rrdtool-1.2.x and don't have any font installed to make"
89
	ewarn "lables visible, please, install some font, e.g. media-fonts/dejavu."
84
	ewarn "lables visible, please, install some font, e.g. media-fonts/dejavu."
90
}
85
}
91
92
pkg_prerm() {
93
	use perl && perl-module_pkg_prerm
94
}
95
96
pkg_postrm() {
97
	use perl && perl-module_pkg_postrm
98
}

Return to bug 297134