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

Collapse All | Expand All

(-)perl-module.eclass.orig (-4 / +16 lines)
Lines 28-34 Link Here
28
# with 5.8.0 and its 6.03 makemaker up to a version that can
28
# with 5.8.0 and its 6.03 makemaker up to a version that can
29
# understand DESTDIR
29
# understand DESTDIR
30
30
31
DEPEND=">=dev-lang/perl-5.8.2 !<dev-perl/ExtUtils-MakeMaker-6.17"
31
DEPEND=">=dev-lang/perl-5.8.1 !<dev-perl/ExtUtils-MakeMaker-6.17"
32
SRC_PREP="no"
32
SRC_PREP="no"
33
SRC_TEST="skip"
33
SRC_TEST="skip"
34
34
Lines 46-55 Link Here
46
46
47
	SRC_PREP="yes"
47
	SRC_PREP="yes"
48
	if [ "${style}" == "builder" ]; then
48
	if [ "${style}" == "builder" ]; then
49
		perl ${S}/Build.PL installdirs=vendor destdir=${D}
49
		if use macos || use ppc-macos ; then
50
			perl ${S}/Build.PL installdirs=site destdir=${D}
51
		else
52
			perl ${S}/Build.PL installdirs=vendor destdir=${D}
53
		fi
50
	else
54
	else
51
		perl Makefile.PL ${myconf} \
55
		if use macos || use ppc-macos ; then
52
		PREFIX=/usr INSTALLDIRS=vendor DESTDIR=${D}
56
			perl Makefile.PL ${myconf} \
57
			INSTALLDIRS=site \
58
			INSTALLSITEMAN1DIR=/usr/share/man/man1 \
59
			INSTALLSITEMAN3DIR=/usr/share/man/man3 \
60
			DESTDIR=${D}
61
		else
62
			perl Makefile.PL ${myconf} \
63
			PREFIX=/usr INSTALLDIRS=vendor DESTDIR=${D}
64
		fi
53
	fi
65
	fi
54
}
66
}
55
67

Return to bug 57677