For the most part, I’ve had no real issues building pkgsrc on my PogoPlug, but all three variants of MySQL server failed to build due to a conflicting type declaration error. For the 2011Q2 branch of pkgsrc and the mysql55-server package, simply comment out the offending line 169 in sql/mysqld.cc so that it reads:
<br></br>#ifdef HAVE_FP_EXCEPT // Fix type conflict<br></br>//typedef fp_except fp_except_t;<br></br>#endif<br></br>