Just a note about include files in ports

Diane Bruce db at db.net
Sat Dec 3 00:09:05 GMT 2005


On Tue, Nov 29, 2005 at 03:40:03PM -0500, Kris Kennaway wrote:
> On Tue, Nov 29, 2005 at 02:25:09PM -0500, Diane Bruce wrote:
> > Hi,
> >
> > Be careful with includes in a port build. I have caught two ports using
...
> > can break or at least compile incorrectly if the port include files change
> > between releases. If you are lucky, it will fail.
>
> Parts of KDE and GNOME do this :-( It's one of the main reasons that

I don't think it should be a big problem with the average port, provided
the upgraded port is compiled with the old port still installed. A port
picking up an obsolete include file which is missing a new structure, will
break the compile thus showing the problem. I was just surprised to
see two ports with the problem fairly close together in time.
I'd suggest folks at the very least test that their spanking brand new
port upgrade with the old include files from the last port still in place.
It is also easy to spot wrong order of -I as it compiles.

Seeing as Pav and others have refuted the KDE and GNOME include theory,
I guess it is not a huge problem after all, since no one else has
commented. ;-)

--
- db at db.net http://www.db.net/~db


More information about the freebsd-ports mailing list