Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 41340 Details for
Bug 58931
Patch: perl
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Unified diff for perl
perl-5.8.4.ebuild.patch (text/plain), 2.61 KB, created by
Joe Jezak (RETIRED)
on 2004-10-07 22:14:07 UTC
(
hide
)
Description:
Unified diff for perl
Filename:
MIME Type:
Creator:
Joe Jezak (RETIRED)
Created:
2004-10-07 22:14:07 UTC
Size:
2.61 KB
patch
obsolete
>--- /usr/portage/dev-lang/perl/perl-5.8.4.ebuild 2004-09-28 19:06:04.000000000 +1000 >+++ perl-5.8.4.ebuild 2004-10-07 23:44:36.000000000 +1000 >@@ -13,10 +13,20 @@ > S="${WORKDIR}/${MY_P}" > SRC_URI="ftp://ftp.perl.org/pub/CPAN/src/${MY_P}.tar.gz" > HOMEPAGE="http://www.perl.org/" >-LIBPERL="libperl.so.${PERLSLOT}.${SHORT_PV}" >+ >+if useq ppc-macos || useq macos; then >+ LPNAME="libperl.dylib" >+ LPSLOT="libperl.${PERLSLOT}.dylib" >+ LIBPERL="libperl.${PERLSLOT}.${SHORT_PV}.dylib" >+else >+ LPNAME="libperl.so" >+ LPSLOT="libperl.so.${PERLSLOT}" >+ LIBPERL="${LPSLOT}.${SHORT_PV}" >+fi >+ > LICENSE="Artistic GPL-2" > SLOT="0" >-KEYWORDS="x86 ~ppc sparc ~mips alpha ~arm hppa amd64 ~ia64 ~ppc64 s390" >+KEYWORDS="x86 ~ppc sparc ~mips alpha ~arm hppa amd64 ~ia64 ~ppc64 s390 ppc-macos" > IUSE="berkdb debug doc gdbm ithreads perlsuid uclibc" > > DEPEND="!uclibc? ( sys-apps/groff ) >@@ -223,8 +233,8 @@ > local coredir="/usr/lib/perl5/${PV}/${myarch}${mythreading}/CORE" > dodir ${coredir} > dosym ../../../../${LIBPERL} ${coredir}/${LIBPERL} >- dosym ../../../../${LIBPERL} ${coredir}/libperl.so.${PERLSLOT} >- dosym ../../../../${LIBPERL} ${coredir}/libperl.so >+ dosym ../../../../${LIBPERL} ${coredir}/${LPSLOT} >+ dosym ../../../../${LIBPERL} ${coredir}/${LPNAME} > > # Fix for "stupid" modules and programs > dodir /usr/lib/perl5/site_perl/${PV}/${myarch}${mythreading} >@@ -301,12 +311,12 @@ > pkg_postinst() { > > # Make sure we do not have stale/invalid libperl.so 's ... >- if [ -f "${ROOT}usr/lib/libperl.so" -a ! -L "${ROOT}usr/lib/libperl.so" ] >+ if [ -f "${ROOT}usr/lib/${LPNAME}" -a ! -L "${ROOT}usr/lib/${LPNAME}" ] > then >- mv -f ${ROOT}usr/lib/libperl.so ${ROOT}usr/lib/libperl.so.old >+ mv -f ${ROOT}usr/lib/${LPNAME} ${ROOT}usr/lib/${LPNAME}.old > fi > >- local perllib="`readlink -f ${ROOT}usr/lib/libperl.so | sed -e 's:^.*/::'`" >+ local perllib="`readlink -f ${ROOT}usr/lib/${LPNAME} | sed -e 's:^.*/::'`" > > # If we are installing perl, we need the /usr/lib/libperl.so symlink to > # point to the version of perl we are running, else builing something >@@ -314,12 +324,12 @@ > if [ "${perllib}" != "${LIBPERL}" ] > then > # Delete stale symlinks >- rm -f ${ROOT}usr/lib/libperl.so >- rm -f ${ROOT}usr/lib/libperl.so.${PERLSLOT} >- # Regenerate libperl.so.${PERLSLOT} >- ln -snf ${LIBPERL} ${ROOT}usr/lib/libperl.so.${PERLSLOT} >+ rm -f ${ROOT}usr/lib/${LPNAME} >+ rm -f ${ROOT}usr/lib/${LPSLOT} >+ # Regenerate ${LPSLOT} >+ ln -snf ${LIBPERL} ${ROOT}usr/lib/${LPSLOT} > # Create libperl.so (we use the *soname* versioned lib here ..) >- ln -snf libperl.so.${PERLSLOT} ${ROOT}usr/lib/libperl.so >+ ln -snf ${LPSLOT} ${ROOT}usr/lib/${LPNAME} > fi > > if [ "${ROOT}" = "/" ]
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 58931
:
36479
|
36480
|
41338
|
41339
|
41340
|
65240
|
65241
|
65242
|
65257
|
65259
|
65463
|
65464
|
65764
|
65765