the asymptote ebuild currently depends on both dev-libs/libsigsegv and x11-misc/xdg-utils. Both of these are actually optional. They should be in the ebuild, too -- that would greatly benefit portage prefix, since e.g. currently, libsigsegv does not compile (on osx i386), and xdg-utils draw in a bunch of dependencies, none of which are needed (on osx).
Thanks for the suggestion, assigning to maintainer
You are right, libsigsegv is optional. I've added a new USE flag, sigsegv, for it. Without this flag, the ebuild will not even try to find this library. I'll commit the new ebuild on Monday. I am not so sure about xdg-utils. The upstream unpatched asymptote has hard-coded program names for viewing pdf, [e]ps, and image files: acroread, gv, display (from imagemagick) correspondingly. We could have acroread and gv as dependencies. But this is not convenient. xdg-utils are a proposed freedesktop.org standard, and are quite slim - just some sh scripts. I think they should really be used by any package which wants to show a pdf or whatever file. For example, I am a KDE user, and I much prefer to view pdfs in kpdf (which starts instantly) rather than in acroread (which provides same-day service). I am sure gnome users feel the same, they want to use the native gnome viewer (don't remember its name). It is not the busyness of asymptote, or any other specific package, to prescribe the user which pdf viewer to use. Hence I patched asymptote to use xdg-utils. Currently xdg-open supports KDE, gnome, and xfce. I think it should recognize MacOS X as just another desktop environment, and display pdf, ps, and image files in some way which is most appropriate for Mac users. Currently it does not do this - I think this is a bug in xdg-utils. If you have any proposal which will not make the life of KDE, gnome, xfce users less comfortable, I'll be glad to implement it. For now, I've put the xdg-utils dependency inside X? ( ... ). Clearly, if a user has, e.g., an X-less server, [s]he does not need xdg-utils, because it is impossible to view pdfs etc. anyway.
(In reply to comment #2) > For now, I've put the xdg-utils dependency inside X? ( ... ). Thanks, that certainly helps.
asymptote-1.43-r1 is in cvs. Thanks.