has a framework change broken sysutils/google-compute-engine-oslogin?

Fernando Apesteguía fernando.apesteguia at gmail.com
Wed Aug 8 05:59:44 UTC 2018


On Wed, Aug 8, 2018 at 7:40 AM Julian Elischer <julian at 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 at freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> > To unsubscribe, send any mail to
> > "freebsd-ports-unsubscribe at freebsd.org"
> >
> >
>
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"


More information about the freebsd-ports mailing list