Bug 101754 - dev86-0.16.17.ebuild
Bug#: 101754 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: maintainer-wanted@gentoo.org Reported By: olaf.wepner@kontron.com
Component: Ebuilds
URL:  http://www.cix.co.uk/~mayday
Summary: dev86-0.16.17.ebuild
Keywords:  EBUILD
Status Whiteboard: 
Opened: 2005-08-08 08:08 0000
Description:   Opened: 2005-08-08 08:08 0000
Hi, 
 
I attached a new ebuild for the "Bruce Evans Compiler"; 
 
This is a simple small C compiler including assembler, linker, librarian, 
clib ... which generates code for the x86 in realmode, running on Linux, Elks, 
MS-DOS or standalone on BIOS. 
 
Some bootblocks are included too (I added a useflag for that).

------- Comment #1 From Olaf Wepner 2005-08-08 08:10:00 0000 -------
Created an attachment (id=65440) [details]
New ebuild

------- Comment #2 From Ciaran McCreesh 2005-08-18 15:27:06 0000 -------
Please fix the following and reopen:

* KEYWORDS don't follow policy.
* ${A}, ${D} should be quoted.
* cd ${P} looks wrong, shouldn't you be assigning S=?
* That export PATH command scares me.
* Any reason bootblocks needs to be a use flag? It doesn't pull in any deps...

------- Comment #3 From Olaf Wepner 2005-09-13 06:45:22 0000 -------
Created an attachment (id=68358) [details]
New ebuild

Ok, here is the next verision of the new ebuild;

> * KEYWORDS don't follow policy.
I added a ~ to x86

> * ${A}, ${D} should be quoted.
done.

> * cd ${P} looks wrong, shouldn't you be assigning S=?
That's right, but the cd isn't neccessary any more so I removed it.

> * That export PATH command scares me.
Ok, I replaced the `pwd` by a '{S}'; however, I need the change to PATH to
allow the freshly build compiler to be found.

>* Any reason bootblocks needs to be a use flag? It doesn't pull in any deps...
I defined the useflag because the bootblocks are optional in the original
package; however, since there are no speed or size constraints, I removed the
useflag. The bootblocks are now always built.

------- Comment #4 From Olaf Wepner 2005-09-13 06:50:50 0000 -------
New ebuild updated 

------- Comment #5 From Jakub Moc (RETIRED) 2005-09-13 07:01:40 0000 -------
OK, some additional problems here that need fixing.

http://dev.gentoo.org/~ciaranm/docs/mw-faq/header.txt
http://dev.gentoo.org/~ciaranm/docs/mw-faq/hardcoded.txt
http://dev.gentoo.org/~ciaranm/docs/mw-faq/emake.txt

You've also missed the quoting in src_install(). ;)

------- Comment #6 From Olaf Wepner 2005-09-14 00:44:37 0000 -------
Created an attachment (id=68429) [details]
new ebuild

So, ready for the next try ... :)

------- Comment #7 From Chris Bainbridge (RETIRED) 2005-10-26 08:27:44 0000 -------
Added to cvs.. xen uses this to build it's firmware.. thanks for the ebuild
Olaf!