[Bug 286483] math/manifold: Improve port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 30 Apr 2025 20:14:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286483
Bug ID: 286483
Summary: math/manifold: Improve port
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: thierry@FreeBSD.org
Reporter: diizzy@FreeBSD.org
Assignee: thierry@FreeBSD.org
Flags: maintainer-feedback?(thierry@FreeBSD.org)
Created attachment 260037
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=260037&action=edit
Patch for manifold
* Use upstream release archive as suggested by Porters Handbook
* Define LICENSE_FILE
* Remove build dependency math/glm (No reference to it in code as far as I can
tell)
* Utilize USES= cmake:testing to only pull in and build unit tests when
requested
* Remove MANIFOLD_FLAGS from CMAKE_ARGS as CFLAGS are already imported
* MANIFOLD_PAR configure option uses ON/OFF so enable it as we pull in oneTBB
and convert it to CMAKE_ON
* Sort CMAKE_*
* Remove forced O3 optimization option
* Backport upstream PR 1244
Compile and runtime tested on FreeBSD 14.2-RELEASE (amd64) (make, make plist
and make test)
Poudriere testport OK 14.2-RELEASE (amd64)
Poudriere testport OK 13.4-RELEASE (amd64)
Poudriere testport OK 13.4-RELEASE (i386)
References:
https://github.com/elalish/manifold/pull/1244
https://docs.freebsd.org/en/books/porters-handbook/book/#makefile-master_sites-github
https://docs.freebsd.org/en/books/porters-handbook/book/#dads-cflags
--
You are receiving this mail because:
You are the assignee for the bug.