Enable graphicscontext support in wxWidgets.

Adds a dependency upon pthread. Tested a handful of dependent ports with
success.

This change allows the fs-uae launcher to render correctly.

OK sthen@
This commit is contained in:
edd 2012-12-10 20:51:24 +00:00
parent 1fb7663ed6
commit 3b77db8942

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.43 2012/11/06 09:37:14 dcoppa Exp $
# $OpenBSD: Makefile,v 1.44 2012/12/10 20:51:24 edd Exp $
SHARED_ONLY = Yes
@ -9,8 +9,8 @@ V = 2.8.12
DISTNAME = wxWidgets-${V}
PKGNAME-main = wxWidgets-gtk2-${V}
PKGNAME-media = wxWidgets-media-${V}
REVISION-main = 7
REVISION-media =3
REVISION-main = 8
REVISION-media =4
CATEGORIES = x11
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=wxwindows/}
@ -50,8 +50,8 @@ WANTLIB += GL SM X11 Xcomposite Xcursor Xdamage Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender Xxf86vm atk-1.0 expat
WANTLIB += fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0
WANTLIB += glib-2.0 gobject-2.0 gthread-2.0 gtk-x11-2.0
WANTLIB += jpeg m pango-1.0 pangoft2-1.0 pixman-1 png pthread-stubs
WANTLIB += stdc++ tiff xcb xcb-render xcb-shm z
WANTLIB += jpeg m pango-1.0 pangoft2-1.0 pixman-1 png pthread
WANTLIB += pthread-stubs stdc++ tiff xcb xcb-render xcb-shm z
MODULES = devel/gettext
@ -90,7 +90,8 @@ CONFIGURE_ARGS =--disable-backtrace \
--with-odbc \
--with-opengl \
--with-sdl \
--without-gnomeprint
--without-gnomeprint \
--enable-graphics_ctx
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
ac_cv_lib_esd_esd_close=no