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

Collapse All | Expand All

(-)pdflib-6.0.3.ebuild (-2 / +8 lines)
Lines 4-10 Link Here
4
4
5
# eutils must be inherited since get_libdir() is only
5
# eutils must be inherited since get_libdir() is only
6
# globally available on baselayout-1.11 (still on ~arch)
6
# globally available on baselayout-1.11 (still on ~arch)
7
inherit eutils java-pkg flag-o-matic
7
inherit base eutils java-pkg-opt-2 flag-o-matic
8
8
9
MY_PN="${PN/pdf/PDF}-Lite"
9
MY_PN="${PN/pdf/PDF}-Lite"
10
MY_P="${MY_PN}-${PV}"
10
MY_P="${MY_PN}-${PV}"
Lines 22-30 Link Here
22
	tcl? ( >=dev-lang/tcl-8.2 )
22
	tcl? ( >=dev-lang/tcl-8.2 )
23
	perl? ( >=dev-lang/perl-5.1 )
23
	perl? ( >=dev-lang/perl-5.1 )
24
	python? ( >=dev-lang/python-2.2 )
24
	python? ( >=dev-lang/python-2.2 )
25
	java? ( >=virtual/jdk-1.3 )"
25
	java? ( >=virtual/jdk-1.4 )"
26
27
PATCHES="${FILESDIR}/fix-java-compile.patch"
26
28
27
src_compile() {
29
src_compile() {
30
31
	JAVACFLAGS=$(java-pkg_javac-args)
32
28
	local myconf=
33
	local myconf=
29
34
30
	# Bug #87004
35
	# Bug #87004
Lines 50-55 Link Here
50
	econf \
55
	econf \
51
		--enable-cxx \
56
		--enable-cxx \
52
		${myconf} || die
57
		${myconf} || die
58
53
	emake || die "emake failed"
59
	emake || die "emake failed"
54
}
60
}
55
61

Return to bug 120264