Bug 66335 - ghostscript-7.05.6-r1 does not emerge (sed: can't read Makefile.in)
Bug#: 66335 Product:  Gentoo Linux Version: unspecified Platform: PPC
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: printing@gentoo.org Reported By: linux4ibook@free.fr
Component: Ebuilds
URL: 
Summary: ghostscript-7.05.6-r1 does not emerge (sed: can't read Makefile.in)
Keywords:  
Status Whiteboard: 
Opened: 2004-10-04 12:17 0000
Description:   Opened: 2004-10-04 12:17 0000
The bug is said to be fixed : 
http://bugs.gentoo.org/show_bug.cgi?id=66014
http://bugs.gentoo.org/show_bug.cgi?id=66016

but it's not true : problem still exist


Reproducible: Always
Steps to Reproduce:
1.emerge xpdf will try to emerge ghostscript-7.05.6-r1 on PPC which won't be built



Expected Results:  
The fix is easy : prepend ${S}/ before src/Makefile.in in the ebuild 

-       src/Makefile.in || die "sed failed"
+       ${S}/src/Makefile.in || die "sed failed"
        sed -i -e 's:$(gsdir)/fonts:/usr/share/fonts/default/ghostscript/:' \
-       src/Makefile.in || die "sed failed"
+       ${S}/src/Makefile.in || die "sed failed"

------- Comment #1 From Steph L 2004-10-04 12:18:38 0000 -------
Fix : 
-       src/Makefile.in || die "sed failed"
+       ${S}/src/Makefile.in || die "sed failed"
        sed -i -e 's:$(gsdir)/fonts:/usr/share/fonts/default/ghostscript/:' \
-       src/Makefile.in || die "sed failed"
+       ${S}/src/Makefile.in || die "sed failed"

------- Comment #2 From Luca Barbato 2004-10-04 16:08:28 0000 -------
should be fixed now, thanks for your report