Page MenuHomeFreeBSD

Mk/bsd.sanity.mk: Flag nop options helpers set after bsd.port.options.mk
ClosedPublic

Authored by tobik on Mar 12 2019, 5:21 AM.
Tags
None
Referenced Files
F106202621: D19553.diff
Fri, Dec 27, 2:27 AM
Unknown Object (File)
Tue, Dec 17, 12:51 PM
Unknown Object (File)
Tue, Dec 10, 2:27 PM
Unknown Object (File)
Mon, Dec 9, 8:44 AM
Unknown Object (File)
Fri, Nov 29, 6:32 PM
Unknown Object (File)
Wed, Nov 27, 2:54 PM
Unknown Object (File)
Nov 26 2024, 10:15 AM
Unknown Object (File)
Nov 26 2024, 10:15 AM

Details

Summary

Just last week lang/harbour (rP494667) and www/igal2 (rP495361)
were broken in that regard. It feels like a big waste of time and
energy to raise these issues post commit. Before I open a PR for
portlint about it, maybe the framework itself can flag this as a
problem instead.

Test Plan

I've run make -V DEV_ERROR over the tree. The following ports
currently have problems:

chinese/fcitx
databases/ldb13
databases/ldb14
databases/percona55-client
databases/percona55-server
databases/py-sqlalchemy10
devel/flang
lang/harbour
mail/mimedefang
net/ng_mikrotik_eoip
net-mgmt/pnp
net-mgmt/pnp-icinga2
www/igal2
www/py-bottle-cork

Maybe false positives due to the port defining a variable that looks
like an options helper. These could trivially be fixed by renaming
the variable:

mail/exim		LMDB_LIBS
mail/exim-ldap2
mail/exim-monitor
mail/exim-mysql
mail/exim-postgresql
mail/exim-sa-exim
mail/exim-sqlite
databases/virtuoso	IODBC_CPPFLAGS

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 23738
Build 22698: arc lint + arc unit

Event Timeline

Mk/bsd.sanity.mk
303–309

Could you indent the .for/.if?

  • Indent the loop in bsd.sanity.mk too

This looks good, let me just have a closer look at it this week.

In D19553#418840, @mat wrote:

This looks good, let me just have a closer look at it this week.

Did you find any problems with it?

Sorry about not getting back to you sooner. This looks good, only, please, move the bsd.sanity.mk bits before the UNSUPPORTED/DEPRECATED/... things at the end, with all the .if that exist before.

Not sure if I understand correctly where to put it. Let me reclaim and update this.

  • Move it before SANITY_UNSUPPORTED

Yes, exactly that, thank you.

This revision was not accepted when it landed; it landed in state Needs Review.Apr 18 2019, 2:28 PM
This revision was automatically updated to reflect the committed changes.