[Bug 288034] databases/py-cassandra-driver: setting non-default OPTIONS causes unnecessary loss of optimization

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 05 Jul 2025 20:26:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288034

            Bug ID: 288034
           Summary: databases/py-cassandra-driver: setting non-default
                    OPTIONS causes unnecessary loss of optimization
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: milios@ccsys.com
                CC: sergey@akhmatov.ru
             Flags: maintainer-feedback?(sergey@akhmatov.ru)
                CC: sergey@akhmatov.ru
 Attachment #261899 maintainer-approval?
             Flags:
             Flags: maintainer-feedback?

Created attachment 261899
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=261899&action=edit
restore `-c -O1 --prefix=${PREFIX}` for all combinations of OPTIONS

prior to <bsd.port.pre.mk>, manipulating PYDISTUTILS_*ARGS has somewhat
surprising and likely undesired effect

PYDISTUTILS_ARGS has no meaning in our framework, fyi. an intermediate var is
needed to straddle the .include and i overloaded said variable since the values
you want just happened to be the same

since the OPTIONS defaults are all on, no bump to PORTREVISION is necessary

i did not build nor test this, as it's not a package i use; check my sanity. i
only discovered i made the same mistake in a port i do use

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