openbsd-ports/lang/erlang/16/patches/patch-lib_wx_configure_in
jasper be641b8bb9 - unbreak linking of wx bindings now that wxwidgets has been fixed
- move all wx and observer bits into a wx subpackage

this shrinks the main package by about 18M
2015-07-09 19:46:39 +00:00

15 lines
518 B
Plaintext

$OpenBSD: patch-lib_wx_configure_in,v 1.1 2015/07/09 19:46:39 jasper Exp $
Don't blindly discard library path for GL libs.
--- lib/wx/configure.in.orig Thu Jan 23 17:47:46 2014
+++ lib/wx/configure.in Thu Jul 2 13:53:30 2015
@@ -235,6 +235,7 @@ dnl
if test X"$host_os" != X"win32" ; then
AC_CHECK_HEADERS([GL/gl.h], [],
[AC_CHECK_HEADERS([OpenGL/gl.h])])
+ GL_LIBS="-L/usr/X11R6/lib $GL_LIBS"
if test X"$ac_cv_header_GL_gl_h" != Xyes &&
test X"$ac_cv_header_OpenGL_gl_h" != Xyes
then