Lines 12-32
Link Here
|
12 |
|
12 |
|
13 |
LICENSE="|| ( Artistic GPL-2 )" |
13 |
LICENSE="|| ( Artistic GPL-2 )" |
14 |
SLOT="0" |
14 |
SLOT="0" |
15 |
KEYWORDS="~x86 ~amd64" |
15 |
KEYWORDS="~amd64 ~ia64 ~x86" |
16 |
IUSE="unicode" |
16 |
IUSE="" |
17 |
|
17 |
|
18 |
DEPEND=">=x11-libs/wxGTK-2.6.2-r1 |
18 |
DEPEND="=x11-libs/wxGTK-2.4* |
19 |
dev-perl/Alien-wxWidgets |
19 |
dev-perl/Alien-wxWidgets |
20 |
>=dev-lang/perl-5.8.4 |
20 |
>=dev-lang/perl-5.8.4 |
21 |
>=virtual/perl-File-Spec-0.82" |
21 |
>=virtual/perl-File-Spec-0.82" |
22 |
RDEPEND="${DEPEND}" |
|
|
23 |
|
22 |
|
24 |
src_compile() { |
23 |
pkg_setup() { |
25 |
WX_GTK_VER="2.6" |
24 |
if ! built_with_use '=x11-libs/wxGTK-2.4*' unicode; then |
26 |
if use unicode; then |
25 |
die "$P depends on wxGTK-2.4* built with USE=unicode" |
27 |
need-wxwidgets unicode |
|
|
28 |
else |
29 |
need-wxwidgets gtk2 |
30 |
fi |
26 |
fi |
|
|
27 |
} |
28 |
|
29 |
src_compile() { |
30 |
WX_GTK_VER="2.4" |
31 |
need-wxwidgets unicode |
31 |
perl-module_src_compile |
32 |
perl-module_src_compile |
32 |
} |
33 |
} |