Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Apr 2026 21:49:23 +0200
From:      Antoine Brodin <antoine@freebsd.org>
To:        Pierre Pronchery <khorben@freebsd.org>
Cc:        Baptiste Daroussin <bapt@freebsd.org>, src-committers@freebsd.org,  dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org
Subject:   Re: git: b8352da33f34 - main - pkgconf: import into the base system
Message-ID:  <CAALwa8nX1G2PSaEakwcCBurpgEBrhO5U7WDZwW7=An2EX6DSPA@mail.gmail.com>
In-Reply-To: <CAALwa8kfxc_gPcjHctC2fXS=HybhdtCeit6kDEqVQ2=qEpLbeA@mail.gmail.com>
References:  <69e8d0f6.216cd.2cf09725@gitrepo.freebsd.org> <CAALwa8=sAo3A1C%2BheRMGyHTr6=iMnnEA0h57CXUikW8pNmf92g@mail.gmail.com> <127152B1-0E14-4A04-BB56-01191F2D2F0F@FreeBSD.org> <CAALwa8kfxc_gPcjHctC2fXS=HybhdtCeit6kDEqVQ2=qEpLbeA@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

On Sat, Apr 25, 2026 at 6:53 PM Antoine Brodin <antoine@freebsd.org> wrote:
> On Sat, Apr 25, 2026 at 3:05 PM Pierre Pronchery <khorben@freebsd.org> wrote:
> >
> >                 Hi Antoine, (all)
> >
> > > On 25 Apr 2026, at 14:57, Antoine Brodin <antoine@freebsd.org> wrote:
> > >
> > > On Wed, Apr 22, 2026 at 3:45 PM Pierre Pronchery <khorben@freebsd.org> wrote:
> > >>
> > >> The branch main has been updated by khorben:
> > >>
> > >> URL: https://cgit.FreeBSD.org/src/commit/?id=b8352da33f3434f0ba6093df361261d1b1f973a1
> > >>
> > >> commit b8352da33f3434f0ba6093df361261d1b1f973a1
> > >> Author:     Pierre Pronchery <khorben@FreeBSD.org>
> > >> AuthorDate: 2026-04-08 16:52:29 +0000
> > >> Commit:     Pierre Pronchery <khorben@FreeBSD.org>
> > >> CommitDate: 2026-04-22 13:42:56 +0000
> > >>
> > >>    pkgconf: import into the base system
> > >>
> > >>    This introduces the following option:
> > >>
> > >>    * MK_PKGCONF: determines if pkgconf and bomtool should be built
> > >>
> > >>    The objective is to allow the creation of SBOM information while
> > >>    building FreeBSD's src tree. The build system cannot rely on the
> > >>    presence of bomtool (and eventually also spdxtool) in the build
> > >>    environment, except for having it as part of the src tree directly.
> > >>
> > >>    The framework implementing the generation of SBOM files is under review
> > >>    in D56474.
> > >>
> > >>    This will also help simplifying the build, with the introduction of
> > >>    another framework relying on the availability of pkgconf.
> > >>
> > >>    Sponsored by:           Alpha-Omega, The FreeBSD Foundation
> > >>    Reviewed by:            bapt, philip
> > >>    Approved by:            philip (mentor)
> > >>    Differential Revision:  https://reviews.freebsd.org/D56404
> > >
> > > Does this version behave the same as the version from ports?  Spoiler:
> > > it does not
> >
> > The objective is that it does behave the same way as the version from
> > ports. I am sorry that it doesn’t, and I am trying to understand how and
> > why.
> >
> > > It breaks some ports:
> > > https://pkg-status.freebsd.org/beefy24/data/main-amd64-default/pa52afc55257c_s0f7b8f79f6/logs/errors/rubygem-nokogiri-1.19.1_1.log
> > > https://pkg-status.freebsd.org/beefy24/data/main-amd64-default/pa52afc55257c_s0f7b8f79f6/logs/errors/gtk2-2.24.33_1.log
> > > https://pkg-status.freebsd.org/beefy24/data/main-amd64-default/pa52afc55257c_s0f7b8f79f6/logs/errors/gtk-layer-shell-0.10.1.log
> > > and probably a lot more
>
> The one from the ports tree has:
> PKG_DEFAULT_PATH =
> /usr/local/libdata/pkgconfig:/usr/libdata/pkgconfig:/usr/local/share/pkgconfig
> SYSTEM_INCLUDEDIR = /usr/include
> SYSTEM_LIBDIR = /usr/lib

I think you have to switch from ${LOCALBASE:U} to
${LOCALBASE:U/usr/local} in the Makefile

Antoine


home | help

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