Hi,

I want to port media-libs/libgphoto2 to prefix-gentoo. The problem is that dev-libs/libusb is not working on solaris. I've helped myself with writing --with-libusb=/usr/sfw in the libgphoto2 ebuild - but this is less portable then libusb.
How should this be solved?
- Platform depend dependencies (is this possible at all)?
- patching the libusb ebuild so that on solaris it creates links to the solaris libusb instead of compiling it? - use the usb USE flag on libgphoto2 so it can be used on systems without libusb?

Daniel

Reply via email to