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

Collapse All | Expand All

(-)gd-2.0.35-r1.ebuild (-2 / +6 lines)
Lines 11-17 Link Here
11
LICENSE="|| ( as-is BSD )"
11
LICENSE="|| ( as-is BSD )"
12
SLOT="2"
12
SLOT="2"
13
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
13
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
14
IUSE="fontconfig jpeg png truetype xpm"
14
IUSE="fontconfig jpeg png test truetype xpm"
15
15
16
RDEPEND="fontconfig? ( media-libs/fontconfig )
16
RDEPEND="fontconfig? ( media-libs/fontconfig )
17
	jpeg? ( >=media-libs/jpeg-6b )
17
	jpeg? ( >=media-libs/jpeg-6b )
Lines 26-37 Link Here
26
	epatch "${FILESDIR}"/${P}-libpng14.patch \
26
	epatch "${FILESDIR}"/${P}-libpng14.patch \
27
		"${FILESDIR}"/${P}-maxcolors.patch
27
		"${FILESDIR}"/${P}-maxcolors.patch
28
28
29
	eautoconf
29
	# do not build tests if they are not run, see #226239
30
	epatch "${FILESDIR}/${P}-cond-tests.patch"
31
32
	eautoreconf
30
	find . -type f -print0 | xargs -0 touch -r configure
33
	find . -type f -print0 | xargs -0 touch -r configure
31
}
34
}
32
35
33
src_compile() {
36
src_compile() {
34
	econf \
37
	econf \
38
		$(use_enable test) \
35
		$(use_with fontconfig) \
39
		$(use_with fontconfig) \
36
		$(use_with png) \
40
		$(use_with png) \
37
		$(use_with truetype freetype) \
41
		$(use_with truetype freetype) \

Return to bug 226239