cc1plus: error: unrecognized command line option "-std=gnu++11" While here, add gl to USES in accordance with modern usage. Approved by: portmgr (tier-2 blanket)