freebsd-ports/net/polyorb
John Marino 95cc8022ed textproc/xmlada: Upgrade version 4.5.0.0 => 4.6.0.0, overhaul make system
Due to the unavailability of a public repository, this version uses
Adacores 2015 distribution of xmlada.  It's probably a minor update
from the previous one.

The major change, however, is the creation of a custom makefile to build
and install xmlada.  Why?  because gnatmake will lose the ability to
build project files in the near future, so xmlada makefiles were changed
to use gprbuild to build and itself it.  One problem: gprbuild needs
xmlada as a build dependency.  (and it also needs gprbuild to build
itself!!)  I could have chosen to keep using gnatmake, but I decided to
bite the bullet, fix it correctly now and not have to get stuck by it
by future versions of gnat that remove project management from gnatmake.

Having to support a bootstrap gprbuild is nonsense in my opinion, so
both will have to be built manually.  Morever, the GPL 2015 distinfo
file removed all the vital *.gpr files which other packages' configure
script absolutely depends on.  These had to be recreated from scratch
as well.

Noticeable changes:
  - no more .lgpr files, these are incorporated in generated *.gpr now
  - xmlada_input.gpr renamed to xmlada_input_sources.gpr as expected
    since we had to create it anyway
  - xmlada_shared.gpr no longer exists; it was incorporated into each
    gpr that pulled it in
  - RPATH hack no longer necessary
  - symlinks of 5 libraries at $LOCALBASE/lib were removed (useless)
  - rpaths are now correct and have $LOCALBASE/lib/xmlada/relocatable
    as path (this was big fix made possible by new Makefile)
  - xmlada seems to build a lot faster, fully jobs safe
  - GNU configure not longer performed
  - GNU make no longer a build dependency

I verified packages that depend on xmlada build as expected.  I also
verified that the manually generated libraries look very similar in
size to the gnatmake generated libraries.

Since the library version changed, I'm also bumping ports directly
dependent on xmlada.
2015-06-21 23:35:11 +00:00
..
files
distinfo
Makefile
pkg-descr
pkg-plist