Bug 297129 - lang/fpc-devel: Enable WASM compiler
Summary: lang/fpc-devel: Enable WASM compiler
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Jose Alonso Cardenas Marquez
URL:
Keywords:
Depends on:
Blocks: 297130
  Show dependency treegraph
 
Reported: 2026-07-28 22:51 UTC by Tiago Gasiba
Modified: 2026-08-05 17:41 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (acm)


Attachments
git patch (3.28 KB, application/mbox)
2026-07-28 22:51 UTC, Tiago Gasiba
no flags Details
git patch (3.28 KB, patch)
2026-07-28 22:52 UTC, Tiago Gasiba
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tiago Gasiba freebsd_committer freebsd_triage 2026-07-28 22:51:31 UTC
Created attachment 273273 [details]
git patch

Hi.

I was trying to use fpc to compile a file to WebAssembly, but noticed that the option is not available in fpc.
I have therefore made the necessary changes to the Makefile to enable this option (by default).

@acm: please tell me if these changes are OK to be comited.

NOTE: there is a separate PR to enable Wasip1 in Lazarus, which I will link to here.

Thanks!
Comment 1 Tiago Gasiba freebsd_committer freebsd_triage 2026-07-28 22:52:53 UTC
Created attachment 273274 [details]
git patch

Enable viewing the diff/patch in the browser...
Comment 2 Jose Alonso Cardenas Marquez freebsd_committer freebsd_triage 2026-08-05 17:40:26 UTC
Hello Tiago, let's me see if there is other way to include WASM into fpc-devel. I don't agree much with copy WRKSRC to another directory.