I have attached an ebuild for ver 110.0.7 version of smlnj. There are other ebuilds in dev-lang/smlnj for newer versions, however there is no ebuild for stable version (smlnj-110.42 and smlnj-110.43 are working versions, which are not considered official releases). A stable version (110.0.7) is needed in the portage as smlnj is undergoing a heavy library adjustment towards the standard and compatibility is not guaranteed across current working versions. Quite a few programs/libraries do not compile with current working versions. The naming for source achives has changed between 110.0.7 and current working versions so this build does not suffer from bug #43018. However in the unlikely case when new stable versions based on 110.0 are releasedit may well become vulnarable to problem of the other bug (that the same files are returned by mirrors for various versions of the application).
Created attachment 26433 [details] smlnj-110.0.7.ebuild stable version this ebuild uses the other two patches (also attached)
Created attachment 26434 [details] smlnj-110.0.7-gcc33-quirk-fix.patch, see bug #30207
Created attachment 26435 [details] smlnj-110.0.7-run-sml-bindir.patch
The first comment of this bug - explaining SML development and the status of the dev releases - is important and correct. Gentoo needs an ebuild of the 110.0.7 version of SML! I tried the one attached here along with the patches, but it seems to have a problem where the internal install-routine of smlnj gets path-confused: - install targets sml.x86-linux already exists building sml-cm.x86-linux ../../bin/sml: line 1: /bin/.arch-n-opsys: No such file or directory sml: unable to determine architecture/operating system !!! build of sml-cm.x86-linux failed !!! ERROR: dev-lang/smlnj-110.0.7 failed. !!! Function src_compile, Line 69, Exitcode 1 !!! (no error message)
I have added smlnj-110.{0.7,45} to the CVS and removed the 42 and 43 versions which do not build well. Please test!