Lines 12-18
Link Here
|
12 |
# The perl-module eclass is designed to allow easier installation of perl |
12 |
# The perl-module eclass is designed to allow easier installation of perl |
13 |
# modules, and their incorporation into the Gentoo Linux system. |
13 |
# modules, and their incorporation into the Gentoo Linux system. |
14 |
|
14 |
|
15 |
inherit eutils multiprocessing unpacker |
15 |
inherit multilib eutils multiprocessing unpacker |
16 |
[[ ${CATEGORY} == "perl-core" ]] && inherit alternatives |
16 |
[[ ${CATEGORY} == "perl-core" ]] && inherit alternatives |
17 |
|
17 |
|
18 |
PERL_EXPF="src_unpack src_compile src_test src_install" |
18 |
PERL_EXPF="src_unpack src_compile src_test src_install" |
Lines 150-155
Link Here
|
150 |
INSTALLDIRS=vendor \ |
150 |
INSTALLDIRS=vendor \ |
151 |
INSTALLMAN3DIR='none' \ |
151 |
INSTALLMAN3DIR='none' \ |
152 |
DESTDIR="${D}" \ |
152 |
DESTDIR="${D}" \ |
|
|
153 |
OPTIMIZE="${CFLAGS}" \ |
153 |
"${myconf_local[@]}" |
154 |
"${myconf_local[@]}" |
154 |
einfo "perl Makefile.PL" "$@" |
155 |
einfo "perl Makefile.PL" "$@" |
155 |
perl Makefile.PL "$@" <<< "${pm_echovar}" \ |
156 |
perl Makefile.PL "$@" <<< "${pm_echovar}" \ |
Lines 178-189
Link Here
|
178 |
|| die "Compilation failed" |
179 |
|| die "Compilation failed" |
179 |
elif [[ -f Makefile ]] ; then |
180 |
elif [[ -f Makefile ]] ; then |
180 |
set -- \ |
181 |
set -- \ |
|
|
182 |
LD_RUN_PATH=${EPREFIX}/usr/$(get_libdir) \ |
181 |
OTHERLDFLAGS="${LDFLAGS}" \ |
183 |
OTHERLDFLAGS="${LDFLAGS}" \ |
|
|
184 |
OPTIMIZE="${CFLAGS}" \ |
182 |
"${mymake_local[@]}" |
185 |
"${mymake_local[@]}" |
183 |
einfo "emake" "$@" |
186 |
einfo "emake" "$@" |
184 |
emake "$@" \ |
187 |
emake "$@" \ |
185 |
|| die "Compilation failed" |
188 |
|| die "Compilation failed" |
186 |
# OPTIMIZE="${CFLAGS}" \ |
|
|
187 |
fi |
189 |
fi |
188 |
} |
190 |
} |
189 |
|
191 |
|