Typical error message: /usr/local/bin/../share/sdcc/include/pic16/pic18fregs.h:724:26: fatal error: pic18f8720.h: No such file or directory
Created attachment 219573 [details] Attempted patch I'm not a ports-committer, and I basically just hacked away at things until it worked, but I think this patch is within striking distance of a fix.
The patch looks fine to me, I assume you've tested it and it works? (I only use SDCC for the 8051 Cypress FX2). I tested the patch and it builds (PORTREVISION will need to be bumped as well). Can a ports committer please do the deed? Thanks.
I have tested it only for PIC18F8720, but that works.
(In reply to Poul-Henning Kamp from comment #3) Ship it then :)
Build and package info is available at https://gitlab.com/swills/freebsd-ports/pipelines/221963577
A commit references this bug: Author: zi Date: Mon Dec 14 03:42:05 UTC 2020 New revision: 558074 URL: https://svnweb.freebsd.org/changeset/ports/558074 Log: - Install per-chip include files - Bump PORTREVISION PR: 251048 Submitted by: phk@ Approved by: maintainer <darius@dons.net.au> Changes: head/lang/sdcc/Makefile head/lang/sdcc/pkg-plist