Page MenuHomeFreeBSD

devel/mspdebug: change -I order
ClosedPublic

Authored by joerg on Dec 6 2024, 10:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 22, 2:11 AM
Unknown Object (File)
Fri, Jun 19, 2:36 AM
Unknown Object (File)
Thu, Jun 18, 6:34 AM
Unknown Object (File)
Thu, Jun 18, 12:01 AM
Unknown Object (File)
Tue, Jun 16, 7:13 PM
Unknown Object (File)
Thu, Jun 11, 3:30 AM
Unknown Object (File)
May 14 2026, 10:34 AM
Unknown Object (File)
May 14 2026, 8:37 AM
Subscribers
None

Details

Summary

The default order of -I statements had the local includes of this software rather late, behind any other CFLAGS.

This causes a conflict of the local ftdi.h they provide with a global ftdi.h provided by libftdi, if the latter is installed. Their include file from /usr/local/include got preferred through the PORTS_CFLAGS.

Change include order of includes to avoid this situation.

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joerg requested review of this revision.Dec 6 2024, 10:33 PM
joerg created this revision.
This revision was not accepted when it landed; it landed in state Needs Review.Dec 11 2024, 8:41 PM
This revision was automatically updated to reflect the committed changes.