Bug 285920 - net/fort: Improve port
Summary: net/fort: 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:
 
Reported: 2025-04-06 19:08 UTC by Daniel Engberg
Modified: 2025-04-21 17:56 UTC (History)
0 users

See Also:


Attachments
Patch for fort (2.70 KB, patch)
2025-04-06 19:08 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-04-06 19:08:32 UTC
Created attachment 259361 [details]
Patch for fort

* Use upsteam release archive as recommended by Porter's Handbook
* Remove USES= autoreconf
* Remove USES= compiler:c11 , upstream defines c99
* Remove upstream's hardcoded optimization
* Remove GNU_CONFIGURE_MANPREFIX

Compile tested on FreeBSD 14.2-RELEASE (amd64) (make, make check-plist)

Poudriere testport OK 13.4-RELEASE (amd64)
Poudriere testport OK 13.4-RELEASE (i386)
Poudriere testport OK 14.2-RELEASE (amd64)

References:
https://docs.freebsd.org/en/books/porters-handbook/book/#makefile-master_sites-github
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2025-04-06 19:08:32 UTC
Maintainer informed via mail
Comment 2 commit-hook freebsd_committer freebsd_triage 2025-04-21 17:39:28 UTC
A commit in branch main references this bug:

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

commit fa360fded4d4675160062126897ee60ddd58ab57
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2025-04-21 14:27:44 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2025-04-21 17:37:54 +0000

    net/fort: Improve port

    * Use upsteam release archive as recommended by Porter's Handbook
    * Remove USES= autoreconf
    * Remove USES= compiler:c11 , upstream defines c99
    * Remove upstream's hardcoded optimization
    * Remove GNU_CONFIGURE_MANPREFIX

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

 net/fort/Makefile                           | 18 ++++++++----------
 net/fort/distinfo                           |  6 +++---
 net/fort/files/patch-src_Makefile.am (gone) | 11 -----------
 3 files changed, 11 insertions(+), 24 deletions(-)