Details
- Reviewers
bapt - Group Reviewers
portmgr - Commits
- rP458513: Remove support for variables that have been deprecated for a while.
I expect a big fallout from removing the way PORTDOCS/PORTEXAMPLES work, but it is unavoidable, and easily fixed.
Diff Detail
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 13716 Build 13936: arc lint + arc unit
Event Timeline
I expect fallouts so some exp-run would be nice.
Part of this can be committed right now already.
chinese/libtabe/Makefile | ||
---|---|---|
48 | Can be committed now :) | |
chinese/p5-Lingua-ZH-TaBE/Makefile | ||
37 | This can be committed separatly as in now :) | |
databases/ruby-bdb/Makefile | ||
12 | Can be committed now :) | |
www/rubygem-passenger/Makefile | ||
47 | Can be committed now :) |
Well, I was expecting fallout, but %%PORTDOCS%% and %%PORTEXAMPLES%% work by looking if the option is there, not if the option really exists. I'll patch it a bit more.
- There was a hidden NOPORTxxx here.
- Only set PORTDOCS/PORTEXAMPLES if their respective options are in OPTIONS_DEFINE.
Ok, so with the latest patch, things error out with a:
===> Checking for items in STAGEDIR missing from pkg-plist Error: Orphaned: %%PORTDOCS%%%%DOCSDIR%%/3.4.0_to_4.1.0_schema.pgsql.sql Error: Orphaned: %%PORTDOCS%%%%DOCSDIR%%/dnssec-3.x_to_3.4.0_schema.pgsql.sql Error: Orphaned: %%PORTDOCS%%%%DOCSDIR%%/nodnssec-3.x_to_3.4.0_schema.pgsql.sql Error: Orphaned: %%PORTDOCS%%%%DOCSDIR%%/schema.pgsql.sql Error: Orphaned: %%PORTEXAMPLES%%%%EXAMPLESDIR%%/pdns.conf ===> Checking for items in pkg-plist which are not in STAGEDIR Error: Missing: %%PORTDOCS%%%%DOCSDIR%%/3.4.0_to_4.1.0_schema.pgsql.sql Error: Missing: %%PORTDOCS%%%%DOCSDIR%%/dnssec-3.x_to_3.4.0_schema.pgsql.sql Error: Missing: %%PORTDOCS%%%%DOCSDIR%%/nodnssec-3.x_to_3.4.0_schema.pgsql.sql Error: Missing: %%PORTDOCS%%%%DOCSDIR%%/schema.pgsql.sql Error: Missing: %%PORTEXAMPLES%%@dir %%EXAMPLESDIR%% Error: Missing: %%PORTEXAMPLES%%%%EXAMPLESDIR%%/pdns.conf
Which is going to get some wtf from people :-)
LGTM overall
Mk/bsd.sanity.mk | ||
---|---|---|
6–8 | eh, I'd just remove this. years of warnings is enough |
Mk/bsd.sanity.mk | ||
---|---|---|
6–8 | I disagree we should say it is unsupported and even maybe replace the WARNING with an ERROR imho. Poisonning variables that used to be documented and used for a while is very important. Lots of old documentation are still available online, on random blogs etc. |
Mk/bsd.sanity.mk | ||
---|---|---|
6–8 | I was considering adding an ERROR variable, maybe I will, to make sure people update their systems. |