My friend had success with "You're only doing homework for 1hr each night. You get done what you get done." For some reason, this helped her to focus and she actually gets more done.

My son needed frequent breaks. Although it makes it seem like homework is going on all night, he got it done that way.