[Bug 275042] math/dsfmt: Some improvements to port

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 12 Nov 2023 17:01:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275042

            Bug ID: 275042
           Summary: math/dsfmt: Some improvements to 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
             Flags: maintainer-feedback?(thierry@FreeBSD.org)
          Assignee: thierry@FreeBSD.org

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

- Use DISTVERSION when utilizing USE_GITHUB
 
https://docs.freebsd.org/en/books/porters-handbook/book/#makefile-master_sites-github

Remove USES= compiler as its functionality isn't utilized

Change CSTD= to USE_CSTD

Add -DNDEBUG and -DDSFMT_DO_NOT_USE_OLD_NAMES to closer match other repos

Remove -msse2, it's a requirement for amd64

Respect CFLAGS, utilize a common toggle for optimization
https://docs.freebsd.org/en/books/porters-handbook/book/#dads-cflags
https://cgit.freebsd.org/ports/tree/Mk/bsd.options.desc.mk#n396

Compact do-* sections and make use of RLN macro

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