you're getting this template-based bug because the package in the subject hit a "header present but cannot be compiled" during ./configure execution. If you check my blog post in the URL, this is going to be a problem when autoconf-2.64 will be used so you should pay attention and consider fixing the issue (or let upstream know about it at least).
Thank you for your consideration. Share and enjoy!
games-roguelike/scourge-0.21.1:20090103-054024.log:configure: WARNING: GL/glext.h: present but cannot be compiled