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

Collapse All | Expand All

(-)/usr/portage/app-text/html2text/html2text-1.3.2.ebuild (-2 / +3 lines)
Lines 10-16 Link Here
10
10
11
LICENSE="GPL-2"
11
LICENSE="GPL-2"
12
SLOT="0"
12
SLOT="0"
13
KEYWORDS="~alpha amd64 ia64 ppc ppc64 sparc x86"
13
KEYWORDS="~alpha amd64 ia64 ppc ppc64 sparc x86 ppc-macos"
14
IUSE=""
14
IUSE=""
15
15
16
DEPEND="virtual/libc"
16
DEPEND="virtual/libc"
Lines 18-30 Link Here
18
src_unpack() {
18
src_unpack() {
19
	unpack ${A}
19
	unpack ${A}
20
	cd ${S}
20
	cd ${S}
21
	if [ `gcc-major-version` -ge 3 -a `gcc-minor-version` -ge 3 ]
21
	if [ `gcc-major-version` -ge 4 -o `gcc-major-version` -ge 3 -a `gcc-minor-version` -ge 3 ]
22
	then
22
	then
23
		epatch 1.3.2_to_1.3.2a.diff
23
		epatch 1.3.2_to_1.3.2a.diff
24
	fi
24
	fi
25
}
25
}
26
26
27
src_compile() {
27
src_compile() {
28
	use ppc-macos && epatch ${FILESDIR}/html2text-osx.patch
28
	econf || die
29
	econf || die
29
	emake CXX="$(tc-getCXX)" || die
30
	emake CXX="$(tc-getCXX)" || die
30
}
31
}

Return to bug 104324