glew: pass configure.optflags in to the Makefile to avoid a clang performance bug (#49004)
--- trunk/dports/graphics/glew/Portfile 2015-10-03 03:17:26 UTC (rev 140797)
+++ trunk/dports/graphics/glew/Portfile 2015-10-03 03:25:01 UTC (rev 140798)
@@ -34,7 +34,7 @@
use_configure no
build.env GLEW_PREFIX=${prefix} GLEW_DEST=${prefix}
build.args CC=${configure.cc} LD=${configure.cc} \
- STRIP=
+ POPT="${configure.optflags}" STRIP=
destroot.env GLEW_PREFIX=${prefix} GLEW_DEST=${prefix}
destroot.target install.all