Page MenuHomeFreeBSD

devel/mspdebug: change -I order
ClosedPublic

Authored by joerg on Dec 6 2024, 10:33 PM.
Tags
None
Referenced Files
F144373341: D47975.diff
Sun, Feb 8, 2:54 AM
F144301472: D47975.id147630.diff
Sat, Feb 7, 5:46 PM
Unknown Object (File)
Fri, Jan 30, 10:19 PM
Unknown Object (File)
Fri, Jan 30, 8:35 PM
Unknown Object (File)
Sat, Jan 17, 2:09 AM
Unknown Object (File)
Dec 20 2025, 1:58 PM
Unknown Object (File)
Dec 15 2025, 10:01 AM
Unknown Object (File)
Dec 15 2025, 10:01 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 Skipped
Unit
Tests Skipped

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.