From owner-freebsd-ports@freebsd.org Wed Aug 8 06:24:02 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D34071050323 for ; Wed, 8 Aug 2018 06:24:01 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6CF3571313 for ; Wed, 8 Aug 2018 06:24:01 +0000 (UTC) (envelope-from julian@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2EF241050322; Wed, 8 Aug 2018 06:24:01 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1DAFA1050320 for ; Wed, 8 Aug 2018 06:24:01 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B0B9571312 for ; Wed, 8 Aug 2018 06:24:00 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (124-169-199-167.dyn.iinet.net.au [124.169.199.167]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id w786NtmZ075524 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 7 Aug 2018 23:23:59 -0700 (PDT) (envelope-from julian@freebsd.org) Subject: Re: has a framework change broken sysutils/google-compute-engine-oslogin? To: =?UTF-8?Q?Fernando_Apestegu=c3=ada?= Cc: ports FreeBSD References: <46136fa7-c325-d1fb-9592-9533d6263cbd@freebsd.org> <69e253cd-67e5-d3c1-10a1-3c53776e3e48@freebsd.org> From: Julian Elischer Message-ID: <22a63e19-5266-32fe-aa22-549eeffc0e18@freebsd.org> Date: Wed, 8 Aug 2018 14:23:49 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Aug 2018 06:24:02 -0000 On 8/8/18 1:59 pm, Fernando Apesteguía wrote: > On Wed, Aug 8, 2018 at 7:40 AM Julian Elischer 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 yeah that would help for  libs but not for the includes..  actually maybe it would't help because I'd still want /lib in the path. the link you give says that LIBS would be replaced?  what does that actually mean? > >>> (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"