Bug 31014 - emerge phpdocs-0.26 fails because of bad ebuild
Bug#: 31014 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: mholzer@gentoo.org Reported By: Salgar@gmx.net
Component: Applications
URL:  http://csociety-ftp.ecn.purdue.edu/pub/gentoo-portage/app-vim/phpdocs/phpdocs-0.26.ebuild
Summary: emerge phpdocs-0.26 fails because of bad ebuild
Keywords:  
Status Whiteboard: 
Opened: 2003-10-12 22:29 0000
Description:   Opened: 2003-10-12 22:29 0000
Theres an linebreak in the ebuild that should not be there I think.
See app-vim/phpdocs/phpdocs-0.26.ebuild line 15/16.

Reproducible: Always
Steps to Reproduce:
1. emerge phpdocs

Actual Results:  
emerge failed

Expected Results:  
emerge without errors =)

------- Comment #1 From Heinrich Wendel (RETIRED) 2003-10-13 03:07:32 0000 -------
which linebreak do you mean? please attach a patch.

------- Comment #2 From Salgar Alvidason 2003-10-13 10:01:25 0000 -------
Ah i got it.
There a \013(shown as ^M in vi) in the ebuild which sometimes gets lost during
rsync (don't ask me why!?)

This should fix it:
15,16c15
<       sed -i 's/
< $//' ${S}/plugin/phpdoc.vim || die "sed failed"
---
>       sed -i 's/\r$//' ${S}/plugin/phpdoc.vim || die "sed failed"

------- Comment #3 From Martin Holzer (RETIRED) 2003-10-13 11:44:12 0000 -------
fixed in cvs