See ticket #11759, https://trac.macports.org/ticket/11759