On 7/30/07, steven mestdagh <[EMAIL PROTECTED]> wrote:
> Benoit Chesneau [2007-07-29, 19:55:18]:

> This looks like a good candidate for MULTI_PACKAGES. You can also add a
> no_bindings pseudo flavor, like the subversion port has, for instance.
> Note that there does not need to be a "main" package, you can name the
> packages anything you prefer.
>
> You also need to fix the port so it builds the shared library version
> that is mentioned in SHARED_LIBS (i.e. changing SHARED_LIBS should lead
> to a different library version number being built). This may require some
> patching, but there are many examples in the tree.
>


Ok I modified xapian-core to fix shared library version (1.0 in this
case) and convert xapian-bindings packages to manage multi packages.
So now you could install xapian-ruby,xapian-python & xapian-php to
have related bindings. A xapian-bindings information package is
created like php-extensions package. Afaik a -main package is needed.
When you don't have -main you have such error :

 Fatal: Subpackage -main does not exist. (in productivity/xapian-bindings)
 *** Error code 1

If there is another way to bypass it please tell me. I didn't find it yet.

The new version of ports seem to work well anyway on i386. Please test
it and don't hesitate to give any feedback. I hope such library could
be in port tree.

- Benoit


-- 
bchesneau.info | neurofriends.net | osbud.net

Attachment: port_xapian-core-1.0.2.tar.gz
Description: GNU Zip compressed data

Attachment: port_xapian-bindings-1.0.2.tar.gz
Description: GNU Zip compressed data

Reply via email to