Jury-rig
Etymology
A nautical term: a "jury mast" was a temporary mast rigged to replace one lost at sea, attested from the 1780s. The nautical "jury" meaning "makeshift" is of uncertain origin, perhaps from an Old French word for "aid." Note the common confusion: "jerry-built" (shoddily constructed) is a separate word, and the two have blended in speech into "jerry-rig" — but the seafaring original is jury-rig.
verb · /JOOR-ee-rig/
To assemble a makeshift, temporary fix out of whatever is at hand.
What it names
The exact verb for improvising a working solution under constraint — when you can’t do it right, but you can do it well enough for now.
Example
We jury-rigged a stand for the projector out of two chairs and a stack of books.
Related idea
Jerry-built means badly and cheaply constructed from the start; jury-rig means cleverly improvised as a stopgap, with no implication of shoddiness.