Hi,
so I got some more time to look at the python/perl SWIG bindings on FreeBSD.
A couple of patches which is required to make it work:
- patch-module-owlib-src-include-ow.h - This fixes the actual compilation problem
- patch-configure.ac - make HAVE_FREEBSD available for the fixes below
- patch-module-swig-python-setup.py.in - This enforces the python _OW.so to build with the freshly built libow-2.9.so; without this we build, but against the system libow (which in my case was 2.9.so.1.. thus wrong version). Adopted the existing darwin fix.
- patch-module-swig-perl5-Makefile.am - We do not want to build perllocal.pod, this is standard FreeBSD ports procedure
- patch-src-man-Makefile.am - Don't process man pages for .so-something (unrelated to swig)
PHP bindings still does not build, some other compilation problem.. But I'll probably never have any use for that, ever, so I won't put any more time into that for the moment.
/Johan
One more patch, to detect python 2.7 if no global python-alias is installed.