Mike Frysinger <vapier <at> gentoo.org> writes: > i committed the following > -mike > > --- metadata.xml 5 Aug 2008 19:12:15 -0000 1.2 > +++ metadata.xml 28 Mar 2012 17:29:16 -0000 > @@ -3,7 +3,7 @@ > <pkgmetadata> > <herd>dev-embedded</herd> > <use> > - <flag name='ftdi'>Enable support for USB FTDI chips > - (<pkg>dev-embedded/libftdi</pkg>)</flag> > + <flag name='ftd2xx'>Enable support for USB FTDI chips via <pkg>dev-embedded/libftd2xx</pkg></flag> > + <flag name='ftdi'>Enable support for USB FTDI chips via <pkg>dev-embedded/libftdi</pkg></flag> > </use> > </pkgmetadata> > --- urjtag-9999.ebuild 12 Mar 2012 03:17:35 -0000 1.1 > +++ urjtag-9999.ebuild 28 Mar 2012 17:29:16 -0000 > @@ -22,9 +22,10 @@ HOMEPAGE="http://urjtag.sourceforge.net/ > > LICENSE="GPL-2" > SLOT="0" > -IUSE="ftdi readline static-libs usb" > +IUSE="ftd2xx ftdi readline static-libs usb" > > DEPEND="ftdi? ( dev-embedded/libftdi ) > + ftd2xx? ( dev-embedded/libftd2xx ) > readline? ( sys-libs/readline ) > usb? ( virtual/libusb:1 )" > RDEPEND="${DEPEND} > @@ -44,6 +45,7 @@ src_configure() { > --disable-python \ > $(use_with readline) \ > $(use_with ftdi libftdi) \ > + $(use_with ftd2xx) \ > $(use_enable static-libs static) \ > $(use_with usb libusb 1.0) > }
Thanks Mike, but there is a problem. Your version works with libftd2xx-0.4.13-r1.ebuild which (only) produces 32bit .so files located in /usr/lib (/usr/lib32 on x86-64). My ebuild doesn't work with this version of libftd2xx. libftd2xx-0.4.16.ebuild and following produce 32 or 64 bit .so files located in /opt/lib or /opt/lib64. Your ebuild doesn't work in this case. William ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ UrJTAG-development mailing list UrJTAG-development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/urjtag-development