Etymology
Today it means: So as to alter or change something. Full definition →
From altering + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.