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)
Wed, Feb 19, 3:51 PM
Unknown Object (File)
Thu, Feb 13, 6:28 AM
Unknown Object (File)
Jan 14 2025, 6:28 AM
Unknown Object (File)
Dec 27 2024, 12:34 PM
Unknown Object (File)
Dec 27 2024, 12:00 PM
Unknown Object (File)
Dec 27 2024, 1:18 AM
Unknown Object (File)
Dec 26 2024, 12:35 PM
Unknown Object (File)
Dec 23 2024, 12:17 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 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.