Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Aug 2018 07:59:28 +0200
From:      =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= <fernando.apesteguia@gmail.com>
To:        Julian Elischer <julian@freebsd.org>
Cc:        ports FreeBSD <ports@freebsd.org>
Subject:   Re: has a framework change broken sysutils/google-compute-engine-oslogin?
Message-ID:  <CAGwOe2YP8amVVGOfJy9hXRHJ=T8bbf-qD6sirn7b5_eWvnp8=g@mail.gmail.com>
In-Reply-To: <69e253cd-67e5-d3c1-10a1-3c53776e3e48@freebsd.org>
References:  <46136fa7-c325-d1fb-9592-9533d6263cbd@freebsd.org> <69e253cd-67e5-d3c1-10a1-3c53776e3e48@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 8, 2018 at 7:40 AM Julian Elischer <julian@freebsd.org> wrote:
>
> On 8/8/18 1:02 pm, Julian Elischer wrote:
> > It says it can not find the file curl/curl.h which IS PRESENT as
> > /usr/local/include/curl/curl.h
> >
> > There are Makefile BROKEN annotations for this error in mips etc but
> > I'm seeing it now on amd64.
> >
> > I would think that all ports should have /usr/local/include in their
> > Include list but maybe not?
> >
> > is this something that is supplied by the framework?
> >
> >
> > ports tree checked out from a week ago and today... same issue.
> >
> >
> > there is no /usr/local/include in the failing command line...
> >
> > gmake[1]: Entering directory
> > '/usr/ports/sysutils/google-compute-engine-oslogin/work/compute-image-packages-20180611/google_compute_engine_oslogin'
> > g++ -O2 -pipe  -fstack-protector  -fPIC -I/usr/local/include/json-c
> > -c utils/oslogin_utils.cc -o utils/oslogin_utils.o
> > utils/oslogin_utils.cc:16:23: error: curl/curl.h: No such file or
> > directory
> >
> >
> > I'm guessing there should be but who's responsibility is it to put
> > it there?
>
> I got past it by adding (temporarily) the following to make.conf
>
> for some faiign g++ commands
> CFLAGS+-I /usr/local/include
>
> and for others
> LDFLAGS+=-L/usr/local/lib -I /usr/local/include
>
> but that stinks
>
> better suggestions welcome..

Is this what you are looking for?

USES=localbase

https://www.freebsd.org/doc/en/books/porters-handbook/uses-localbase.html

>
> >
> > (and where/how?)
> >
> >
> > Julian
> >
> >
> >
> > _______________________________________________
> > freebsd-ports@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> > To unsubscribe, send any mail to
> > "freebsd-ports-unsubscribe@freebsd.org"
> >
> >
>
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGwOe2YP8amVVGOfJy9hXRHJ=T8bbf-qD6sirn7b5_eWvnp8=g>