[Bug 290936] devel/openfec: Fix and improve port

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 10 Nov 2025 21:09:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290936

            Bug ID: 290936
           Summary: devel/openfec: Fix and improve port
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: feld@FreeBSD.org
          Reporter: diizzy@FreeBSD.org
             Flags: maintainer-feedback?(feld@FreeBSD.org)
          Assignee: feld@FreeBSD.org

Created attachment 265315
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=265315&action=edit
Patch for openfec

* Use variables (DISTVERSIONPREFIX and DISTVERSION) as instructed by Porters
Handbook [1]
* Remove incorrect depdenencies
* Remove USES= tar:tgz (unnecessary and incorrect GitHub uses tar.gz)
* Add USES= pathfix to fix install location for .pc file and keep build log
consistent
* Respect (C)FLAGS and framework overall [2]
* Add "make test" target

1:
https://docs.freebsd.org/en/books/porters-handbook/book/#makefile-master_sites-github
(see example 14)
2: https://docs.freebsd.org/en/books/porters-handbook/book/#dads-cflags

-- 
You are receiving this mail because:
You are the assignee for the bug.