That's not a commonly used expression, but it means 'in order to adjust for'. So, another way to say it would be "Santiago hooked the fish with his line (in such a way)in order to adjust for the depth and flow of the water, as well as the speed of his boat".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.