New ntl ebuild for the newest version with a few added things (all sent upstream and likely to end in the next version of ntl): *a patch to allow the correct building of a shared library, this is a common effort between me, Tim Abbot the sage packager for Debian and Victor Shoup from ntl. *a patch to provide an error callback framework *a patch to allow the proper working of singular (needs to be rev-bumped but I am afraid of the size of the patch).
Created attachment 152893 [details] new ntl ebuild
Created attachment 152895 [details, diff] mfile patch to properly build shared libraries
Created attachment 152897 [details, diff] patch for singular
Created attachment 152899 [details, diff] basic error callback framework
Created attachment 159185 [details, diff] New patch to sanitize the makefile and build the shared library properly Well has it happens the mfile patch as it is has been a fiasco in sage when trying to work on solaris. I have been reworking the whole thing so that it is more portable and more sane (no direct calls to make, use $(MAKE) instead). So I now have a framework that works across GNU-make, BSD-make and solaris-make. I will post here only the part that is relevant to linux, the approach can be extended to more platform and I hope that this set of patch will be accepted upstream as it is much cleaner and less disruptive.
Created attachment 159187 [details] revised ebuild using the new patch
Created attachment 159189 [details] extra makefile file containing specific instruction for building libntl.so on linux
Now available in the science overlay.
bumped the ebuild to 5.5. Fixed error if LDFLAGS have "--" inside.
In CVS. Thanks.