Page MenuHomeFreeBSD

devel/wasm3: Fix compilation and clean up port
ClosedPublic

Authored by diizzy on Nov 7 2021, 7:33 PM.
Tags
None
Referenced Files
F103076415: D32883.diff
Wed, Nov 20, 3:19 PM
Unknown Object (File)
Sat, Oct 26, 5:34 PM
Unknown Object (File)
Oct 2 2024, 9:43 PM
Unknown Object (File)
Sep 28 2024, 9:14 PM
Unknown Object (File)
Sep 27 2024, 9:47 AM
Unknown Object (File)
Sep 26 2024, 2:47 AM
Unknown Object (File)
Sep 25 2024, 11:00 PM
Unknown Object (File)
Sep 25 2024, 8:25 PM
Subscribers
None

Details

Summary

Disable -march=native as this overrides settings by the framework and fails on multiple non x86 platforms
Remove GitHub related variables that are already defined
Replace += with = for GH_TUPLE
Remove forced O3 optimization

References:
https://portsfallout.com/port/31163/
https://docs.freebsd.org/en/books/porters-handbook/book/#makefile-master_sites-github-description
Example 21 "Use of USE_GITHUB with Multiple Distribution Files Using GH_TUPLE" in Porters Handbook
https://docs.freebsd.org/en/books/porters-handbook/book/#dads-cflags

Test Plan

Compile tested on FreeBSD 13.0-STABLE #1 stable/13-n247667-dc9094140c9 (amd64) (make, make check-plist)
Poudriere testport OK 12.2-RELEASE (amd64)
Poudriere testport OK 13.0-RELEASE (i386)

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

diizzy requested review of this revision.Nov 7 2021, 7:33 PM
diizzy created this revision.

I would split it into two commits

  1. COMMENT & pkg-descr
  2. build fix
This revision is now accepted and ready to land.Nov 7 2021, 7:39 PM

Sure, I'll wait on maintainer approval and/or timeout first.