Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Nov 2022 10:00:21 +0000
From:      Doug Rabson <dfr@rabson.org>
To:        freebsd-pkgbase@freebsd.org
Cc:        =?UTF-8?Q?Mina_Gali=C4=87?= <me@igalic.co>, John Baldwin <jhb@freebsd.org>
Subject:   Include files for pkgbase
Message-ID:  <CACA0VUjBq8%2BpFnOvXhqnW0Dqsz%2BteQTnhxM5LbikQ3nSd6AXmw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--0000000000006b1ae605ec65cb58
Content-Type: text/plain; charset="UTF-8"

I was looking int
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254173 recently
and realised that packaging for include files is messed up. For instance,
<stdio.h> lives in runtime-dev but it includes <xlocale/_stdio.h> which is
in utilities-dev. The clibs-dev package containers C++ header files, most
of which cannot work without the standard C includes from runtime-dev.
Looking closer, include files from src/include are in runtime but
subdirectories of src/include don't have PACKAGE set, to drop into
utilities by default.

This is all too confusing. I think we should put all the includes from
src/include and subdirectories as well as the C++ standard includes into
the same package and I think that package should be clibs-dev since none of
it is much use without the libs contained in clibs-dev.

--0000000000006b1ae605ec65cb58
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I was looking int=C2=A0<a href=3D"https://bugs.freebsd.org=
/bugzilla/show_bug.cgi?id=3D254173" target=3D"_blank">https://bugs.freebsd.=
org/bugzilla/show_bug.cgi?id=3D254173</a><span class=3D"gmail-Apple-convert=
ed-space">=C2=A0</span>recently and realised that packaging for include fil=
es is messed up. For instance, &lt;stdio.h&gt; lives in runtime-dev but it =
includes &lt;xlocale/_stdio.h&gt; which is in utilities-dev. The clibs-dev=
=C2=A0package containers C++ header files, most of which cannot work withou=
t the standard C includes from runtime-dev. Looking closer, include files f=
rom src/include are in runtime but subdirectories of src/include don&#39;t =
have PACKAGE set, to drop into utilities by default.<div><br></div><div>Thi=
s is all too confusing. I think we should put all the includes from src/inc=
lude and subdirectories as well as the C++ standard includes into the same =
package and I think that package should be clibs-dev=C2=A0since none of it =
is much use without the libs contained in clibs-dev.</div></div>

--0000000000006b1ae605ec65cb58--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACA0VUjBq8%2BpFnOvXhqnW0Dqsz%2BteQTnhxM5LbikQ3nSd6AXmw>