Page MenuHomeFreeBSD

Remove OSVERSION checks that do not make sense any more.
ClosedPublic

Authored by mat on Apr 2 2015, 4:18 PM.
Tags
None
Referenced Files
F89355169: D2209.id4604.diff
Fri, Jul 26, 10:50 PM
Unknown Object (File)
Fri, Jun 28, 10:12 PM
Unknown Object (File)
Thu, Jun 27, 4:32 PM
Unknown Object (File)
Jun 22 2024, 4:38 AM
Unknown Object (File)
Jun 17 2024, 10:06 PM
Unknown Object (File)
Jun 17 2024, 9:15 PM
Unknown Object (File)
Jun 13 2024, 11:44 PM
Unknown Object (File)
Jun 6 2024, 2:40 PM
Subscribers

Details

Summary

What I did was consider every OSVERSION <op> xxxx, if it is always true or false, simplify the boolean equation.

Then simplify compounds, for example (${OSVERSION} >= 900000 && ${OSVERSION} < 900021) is always true, as is (${OSVERSION} > 900002 || ${OSVERSION} < 900000 && ${OSVERSION} > 800107).

Regarding patches, when an EXTRA_PATCHES is no longer needed, I remove it, when it is always needed, I renamed it, in one case, I merged two patches.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

mat retitled this revision from to Remove OSVERSION checks that do not make sense any more..
mat updated this object.
mat edited the test plan for this revision. (Show Details)
mat added a reviewer: portmgr.
swills added a reviewer: swills.
swills added a subscriber: swills.

Macro lgtm:

This revision is now accepted and ready to land.Apr 2 2015, 5:05 PM
mat edited edge metadata.

Update with swills review.

This revision now requires review to proceed.Apr 2 2015, 5:09 PM
mat updated this revision to Diff 4633.

Closed by commit rP383107 (authored by @mat).