Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 218267 Details for
Bug 134650
dev-lang/perl: cross-compile support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for perl-module.eclass to cross-compile perl modules with latest perl and libperl
perl-module.eclass.patch (text/plain), 1010 bytes, created by
Peter Levine
on 2010-02-03 02:55:35 UTC
(
hide
)
Description:
Patch for perl-module.eclass to cross-compile perl modules with latest perl and libperl
Filename:
MIME Type:
Creator:
Peter Levine
Created:
2010-02-03 02:55:35 UTC
Size:
1010 bytes
patch
obsolete
>--- perl-module.eclass.old 2010-02-02 19:35:38.000000000 -0500 >+++ perl-module.eclass 2010-02-02 20:12:24.000000000 -0500 >@@ -12,7 +12,7 @@ > # The perl-module eclass is designed to allow easier installation of perl > # modules, and their incorporation into the Gentoo Linux system. > >-inherit eutils base >+inherit eutils base multilib toolchain-funcs > [[ ${CATEGORY} == "perl-core" ]] && inherit alternatives > > PERL_EXPF="src_unpack src_compile src_test src_install" >@@ -61,6 +61,17 @@ > pm_echovar="" > perlinfo_done=false > >+ >+# Once these 3 variables are set, >+# modules use them for makefile vars, >+# perlinfo gets info from $PERL_ARCHLIB >+# build, and all is well... >+if tc-is-cross-compiler ; then >+ export PERL_LIB="${ROOT}usr/$(get_libdir)/$(perl -V:privlib | cut -d \' -f 2 | cut -d / -f 4-)" >+ export PERL_ARCHLIB="$(ls -d ${PERL_LIB}/${CHOST%%-*}*)" >+ export PERL_INC="${PERL_ARCHLIB}/CORE" >+fi >+ > perl-module_src_unpack() { > base_src_unpack > has src_prepare ${PERL_EXPF} || perl-module_src_prepare
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 134650
:
218243
|
218245
|
218247
|
218249
|
218251
|
218253
|
218255
|
218257
|
218259
|
218261
|
218263
|
218265
|
218267
|
218941
|
218947
|
218949
|
218953
|
229501
|
347478
|
351666
|
383286
|
447926
|
450836