Bug 83520 - dcopperl clobbers perllocal.pod
Bug#: 83520 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: kde@gentoo.org Reported By: yselkowitz@hotmail.com
Component: KDE
URL: 
Summary: dcopperl clobbers perllocal.pod
Keywords:  
Status Whiteboard: 
Opened: 2005-02-27 22:08 0000
Description:   Opened: 2005-02-27 22:08 0000
As dcopperl's Makefile is MakeMaker generated, it makes an update to
${D}/$(INSTALLARCHLIB)/perllocal.pod.  This file, if merged into the system,
clobbers the existing perllocal.pod, which I know happens with 3.3.1-r2, and
seemingly by all other versions.  By other perl modules,
perl-module_src_install includes a hack to workaround this, then updates the
system perllocal.pod through perl-module_updatepod.

The solution I found is to use kde-meta for src_unpack and configure, and
perl-module for the rest.  I'm attaching below a revised ebuild based on
3.3.1-r2; I would imagine the problem and solution would be similar in
3.4.0_beta*.

------- Comment #1 From Yaakov S 2005-02-27 22:09:44 0000 -------
Created an attachment (id=52287) [details]
revised dcopperl-3.3.1-r2.ebuild

------- Comment #2 From Yaakov S 2005-03-13 16:10:07 0000 -------
See also bug 83622, where I've proposed a different solution, involving a new
function in perl-module.eclass.

------- Comment #3 From Michael Cummings (RETIRED) 2005-03-14 07:25:51 0000 -------
The eclass for perl-modules was updated today to include a specific function
just for perllocal.pod. See bug 83622 for more information. I think with the
suggested modifications this bug should be fix(able/ed). Included in the bug is
modified dcopperl ebuild :)

------- Comment #4 From Yaakov S 2005-03-14 14:23:17 0000 -------
Created an attachment (id=53458) [details]
dcopperl-3.3.1-r3.ebuild

Here's the new ebuild again, based on bug 83622.

------- Comment #5 From Dan Armak (RETIRED) 2005-03-19 11:00:46 0000 -------
Committed dcopperl-3.4.0-r1.ebuild with your patch. Thanks!