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
F166746932: D32883.id.diff
Sun, Aug 16, 2:59 AM
Unknown Object (File)
Fri, Aug 14, 1:21 PM
Unknown Object (File)
Wed, Aug 12, 8:27 PM
Unknown Object (File)
Wed, Aug 12, 7:46 PM
Unknown Object (File)
Wed, Aug 12, 2:49 PM
Unknown Object (File)
Mon, Aug 10, 8:50 AM
Unknown Object (File)
Mon, Aug 10, 4:01 AM
Unknown Object (File)
Sun, Aug 9, 5:31 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 Not Applicable
Unit
Tests Not Applicable

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.