These merchants feature mens jeans in 40 inch inseams:

Zappos features Stetson and Cinch tall mens jeans in extra long 40 inch inseams.

Tractor Supply

Tractor Supply Company features Wrangler 40 inch inseam tall mens jeans. Use the Size dropdown menu on the left of their page to find your size.