Magic VLSI 7.1 is now deprecated. The new stable branch is 7.4. You will find attached an ebuild for release 7.4.2. This was a rather tricky one that took me quite some time. Please, comment. I have made a lot of cleanups, but mainly : * changed the source tarball link to new official site * suppressed no longer needed gcc-related patches * cleaner and more future proof way to fix FHS compliance (my opinion, but yours can differ) * I included the most recent MOSIS tech files, as you won't go anywhere without them I retained the ppc patch, although I had to adapt it, but this definitely needs testing. Regards, Denis.
Created attachment 79920 [details] sci-electronics/magic-7.4.2.ebuild The ebuild in question...
Created attachment 79921 [details] sci-electronics/magic/files/magic-7.4-ppc-endian.patch ... and this is the modified ppc patch that goes with the ebuild.
Created attachment 80212 [details] sci-electronics/magic-7.4.3.ebuild New ebuild, since : - I read somewhere (bug #81248, comment from Mr. Bones) that I shouldn't use 'mv' in src_install, so I replaced with 'cp -a' (used for installation of MOSIS tech files) - Version bumped to 7.4.3 - Directory fix for the patch in src_unpack Enjoy, Denis.
Created attachment 80675 [details] magic-7.4.6.ebuild After exchanging some e-mails with him, Tim Edwards, the (very nice) maintainer of Magic, agreed and did make some changes to his code. Thus, there's a new stable version of magic that allows a greatly simplified ebuild (attached). Note that you do not need anymore the ppc patch above. Ebuild changelog : * FHS compliance now easy to implement thanks to upstream fixes in the compilation and installation process * Above point also fixes previous hardcoded link fix in src_install() * Endianness now handled by autoconf, so magic-7.4-ppc-endian.patch isn't needed anymore * ~amd64 added since there are reports of magic working very well on this platform * No need to delete included readline distribution. It is only used for non-tcltk installations which is neither default nor advised today (i.e. not really maintained). * DESTDIR variable now supported so no more double ./configure to be able to install into sandbox. * man pages names changed upstream so no more collisions with others anymore Tim has been very cooperative on this, we should thank him. As far as I'm concerned I'm done with this ebuild, but I will continue to track magic updates on this bug report (until being told to stop...).
Created attachment 80688 [details] magic-7.4.6.ebuild The previous ebuild works, but I forgot to include some cleanups. Sorry.
Created attachment 82550 [details] magic-7.4.8.ebuild New ebuild. Changelog : * Updated to release 7.4.8 (bugfix release, see http://www.opencircuitdesign.com/magic/history.html). * Switched x86 back to ~x86 (Ooops...). * Added documentation : README, README.Tcl, TODO (TODO contains a warning about a not yet fully implemented feature, so I figured users may be interested in being able to read it).
magic-7.4.14 is now in Portage.