Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Aug 2014 22:36:53 +0200
From:      Carlos Jacobo Puga Medina <cpm@fbsd.es>
To:        =?ISO-8859-1?Q?Ren=E9?= Ladan <r.c.ladan@gmail.com>
Cc:        gpalmer@freebsd.org, chromium-list freebsd <freebsd-chromium@freebsd.org>
Subject:   Re: chromium 36 on FreeBSD 9?
Message-ID:  <20140815223653.77a7197f3ef2bddffb005478@fbsd.es>
In-Reply-To: <CADL2u4gnPp3cCLOMh4PT88S5jAYE-hBKVcHtbhiB1xAPfzKLgA@mail.gmail.com>
References:  <20140815215829.0960c384ed474cf0f4d4b257@fbsd.es> <CADL2u4gnPp3cCLOMh4PT88S5jAYE-hBKVcHtbhiB1xAPfzKLgA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 15 Aug 2014 22:25:24 +0200
Ren=E9 Ladan <r.c.ladan@gmail.com> wrote:

> Op 15 aug. 2014 21:59 schreef "Carlos Jacobo Puga Medina" <cpm@fbsd.es>:
> >
> > > Hi,
> > >
> > > The latest update doesn't seem to build on 9.2
> > >
> > > Last few lines of build log:
> > >
> > > Updating projects from gyp files...
> > > Package libusb-1.0 was not found in the pkg-config search path.
> > > Perhaps you should add the directory containing `libusb-1.0.pc'
> > > to the PKG_CONFIG_PATH environment variable
> > > Package 'libusb-1.0', required by 'world', not found
> > > gyp: Call to 'pkg-config --libs-only-l libusb-1.0' returned exit stat=
us
> 1.
> > > *** [do-configure] Error code 1
> > >
> > > Regards,
> > >
> > > Gary
> > >
> > > P.S. not subscribed so please CC me on any reply.  Thanks.
> >
> > Try this patch:
> >
> > # diff -urN Makefile.orig Makefile
> > --- Makefile.orig       2014-08-15 21:54:20.000000000 +0200
> > +++ Makefile    2014-08-15 21:54:34.000000000 +0200
> > @@ -102,7 +102,7 @@
> >                 use_system_libexif=3D1 \
> >                 use_system_libjpeg=3D1 \
> >                 use_system_libpng=3D1 \
> > -               use_system_libusb=3D1 \
> > +               use_system_libusb=3D0 \
> >                 use_system_libwebp=3D1 \
> >                 use_system_libxml=3D1 \
> >                 use_system_libxslt=3D1 \
> >
> I don't think this will work for several reasons:
> 1. Bundled libusb is removed in by the remove_bundled_libraries script in
> the pre-configure step
> 2. The bundled libusb is a modified one from sourceforge but on freebsd we
> are supposed to use the system libusb due to how it interacts with the
> lower layers

We had devel/libusb port but it was removed because was included into the b=
ase system.

% less -p libusb /usr/ports/MOVED

FreeBSD 9.2 doesn't include it? So it won't build.=20

>=20
> I'm doing a test build for 8.4 now to see what can be done. Maybe we need
> to look for a different pc file.
>=20
> Ren=E9


--=20
Carlos Jacobo Puga Medina <cpm@fbsd.es>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140815223653.77a7197f3ef2bddffb005478>