Bug 284367 - math/m4ri: Improve port
Summary: math/m4ri: Improve port
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Daniel Engberg
URL:
Keywords:
Depends on:
Blocks: 284368 284369
  Show dependency treegraph
 
Reported: 2025-01-26 15:16 UTC by Daniel Engberg
Modified: 2025-02-08 15:08 UTC (History)
0 users

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


Attachments
Patch for m4ri (1.87 KB, patch)
2025-01-26 15:16 UTC, Daniel Engberg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engberg freebsd_committer freebsd_triage 2025-01-26 15:16:11 UTC
Created attachment 257009 [details]
Patch for m4ri

* Don't detect CPU features from build host, rely on CPUTYPE provided by framework instead
* Adjust Makefile to closer follow Porters Handbook

Compile and runtime tested on 14.2-RELEASE (amd64) (make, make check-plist, make test)
Poudriere testport ok 13.4-RELEASE (amd64)

Tested with following consumers using Podriere on 13.4-RELEASE (amd64 and i386):
math/brial
math/cryptominisat
math/m4rie
Comment 1 commit-hook freebsd_committer freebsd_triage 2025-02-08 15:06:32 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f11a2a6eb6d81a433e51f6f8a8fe730aed6c9ea5

commit f11a2a6eb6d81a433e51f6f8a8fe730aed6c9ea5
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2025-02-08 11:34:30 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2025-02-08 13:51:16 +0000

    math/m4ri: Improve port

    * Don't detect CPU features from build host, rely on CPUTYPE provided by
      framework
    * Adjust Makefile to closer follow Porters Handbook

    PR:             284367
    Approved by:    portmgr (maintainer timeout, 2 weeks)

 math/m4ri/Makefile                       |  7 ++++---
 math/m4ri/files/patch-configure.ac (new) | 11 +++++++++++
 math/m4ri/files/patch-m4ri.pc.in         |  4 ++--
 3 files changed, 17 insertions(+), 5 deletions(-)