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

Collapse All | Expand All

(-)/usr/portage/dev-perl/Alien-wxWidgets/Alien-wxWidgets-0.30.ebuild (-2 / +13 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Alien-wxWidgets/Alien-wxWidgets-0.30.ebuild,v 1.1 2007/03/19 14:52:29 yuval Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Alien-wxWidgets/Alien-wxWidgets-0.30.ebuild,v 1.1 2007/03/19 14:52:29 yuval Exp $
4
4
5
inherit perl-module
5
inherit perl-module eutils wxwidgets
6
6
7
MY_P=Alien-wxWidgets-${PV}
7
MY_P=Alien-wxWidgets-${PV}
8
S=${WORKDIR}/${MY_P}
8
S=${WORKDIR}/${MY_P}
Lines 13-19 Link Here
13
SLOT="0"
13
SLOT="0"
14
LICENSE="|| ( Artistic GPL-2 )"
14
LICENSE="|| ( Artistic GPL-2 )"
15
KEYWORDS="~amd64 ~ia64 ~x86"
15
KEYWORDS="~amd64 ~ia64 ~x86"
16
IUSE=""
16
IUSE="unicode"
17
17
18
SRC_TEST="do"
18
SRC_TEST="do"
19
19
Lines 24-29 Link Here
24
24
25
perl-module_src_prep() {
25
perl-module_src_prep() {
26
	perlinfo
26
	perlinfo
27
28
	#always prefer wxGTK-2.6
29
	if has_version =x11-libs/wxGTK-2.6*; then
30
		WX_GTK_VER="2.6"
31
	fi
32
33
	if use unicode; then
34
		need-wxwidgets unicode
35
	else
36
		need-wxwidgets gtk2
37
	fi
27
	echo no | perl Build.PL --installdirs=vendor \
38
	echo no | perl Build.PL --installdirs=vendor \
28
		   	    --destdir=${D} \
39
		   	    --destdir=${D} \
29
			    --libdoc= || die "perl Build.PL has failed!"
40
			    --libdoc= || die "perl Build.PL has failed!"

Return to bug 151417