On Mon, 13 May 2013 22:37:33 +0300, Tero Koskinen wrote: > Hi, > > I wanted to compile my Ada libraries (like Ahven[1]) on OpenBSD > 5.3-release with gnat 4.7, but noticed that gnattools were missing > support for libraries and errno didn't work, so I created a small patch > for those. > > The patch is meant for 5.3-release ports, but it might work with > -current also. In addition, it is better to improve the patch a little > before applying it to anywhere. (No time to do it myself yet, but > hopefully someone else has time ;) )
Thanks for the patch; I think it's time to provide *-openbsd.adb files now instead of patching the freebsd ones. I have no idea how well gnat libraries work on OpenBSD (cc'ing tobiasu in case he hasn't seen it), but a quick look at the linux-specific file you want to use here suggests to me that it should be adapted for OpenBSD -- soname is not used on OpenBSD, and neither are symlinks to shared libraries. There's probably more that I'm missing since I'm no expert in Ada or gnat.
