Compile with -pthread so prevent an undefined symbol.
This commit is contained in:
parent
dc2616af1f
commit
b8a65b30c4
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.14 2009/11/17 23:12:16 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.15 2009/11/30 16:14:02 ajacoutot Exp $
|
||||
|
||||
COMMENT= free space simulator and planetarium
|
||||
|
||||
DISTNAME= celestia-1.6.0
|
||||
PKGNAME= ${DISTNAME}p1
|
||||
PKGNAME= ${DISTNAME}p2
|
||||
CATEGORIES= astro x11
|
||||
|
||||
HOMEPAGE= http://www.shatters.net/celestia/
|
||||
@ -23,8 +23,7 @@ WANTLIB += Xext Xfixes Xi Xinerama Xmu Xrandr Xrender Xt atk-1.0
|
||||
WANTLIB += c cairo expat fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
|
||||
WANTLIB += gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0 gtk-x11-2.0
|
||||
WANTLIB += jpeg m ogg pango-1.0 pangocairo-1.0 pangoft2-1.0 pangox-1.0
|
||||
WANTLIB += pcre pixman-1 png stdc++ z
|
||||
WANTLIB += pthread-stubs xcb
|
||||
WANTLIB += pcre pixman-1 png pthread pthread-stubs stdc++ xcb z
|
||||
|
||||
MODULES= devel/gettext
|
||||
LIB_DEPENDS= gdkglext-x11-1.0,gtkglext-x11-1.0::x11/gtkglext \
|
||||
@ -46,6 +45,9 @@ CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
||||
--enable-cairo \
|
||||
--enable-theora
|
||||
|
||||
# /usr/local/lib/libgthread-2.0.so.X.X: undefined symbol 'pthread_mutex_trylock'
|
||||
CFLAGS+= -pthread
|
||||
|
||||
pre-configure:
|
||||
${SUBST_CMD} ${WRKSRC}/src/celestia/celestiacore.cpp
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user