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, Apr 14, 10:42 AM
Unknown Object (File)
Mar 4 2025, 11:17 AM
Unknown Object (File)
Feb 22 2025, 12:50 AM
Unknown Object (File)
Feb 21 2025, 12:01 AM
Unknown Object (File)
Feb 19 2025, 3:51 PM
Unknown Object (File)
Feb 13 2025, 6:28 AM
Unknown Object (File)
Jan 14 2025, 6:28 AM
Unknown Object (File)
Dec 27 2024, 12:34 PM
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.