- s/-lpthread/-pthread

spotted by landry@

ok eric@
This commit is contained in:
ajacoutot 2009-01-21 12:05:29 +00:00
parent 5dce4218be
commit a9e8c75f5b
2 changed files with 52 additions and 3 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.6 2007/10/31 22:31:04 eric Exp $
# $OpenBSD: Makefile,v 1.7 2009/01/21 12:05:29 ajacoutot Exp $
COMMENT= OpenGL image compositing library
DISTNAME= glitz-0.5.6
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
SHARED_LIBS += glitz 2.0 # .1.0
SHARED_LIBS += glitz-glx 2.0 # .1.0
@ -13,7 +14,7 @@ HOMEPAGE= http://www.freedesktop.org/Software/glitz
MAINTAINER= Eric Faurot <eric@openbsd.org>
WANTLIB= GL X11 Xau Xdmcp m pthread
WANTLIB= GL X11 Xau Xdmcp m
# LGPL
PERMIT_PACKAGE_CDROM= Yes

View File

@ -0,0 +1,48 @@
$OpenBSD: patch-configure,v 1.1 2009/01/21 12:05:29 ajacoutot Exp $
--- configure.orig Wed Jan 21 09:01:59 2009
+++ configure Wed Jan 21 09:02:21 2009
@@ -21714,7 +21714,7 @@ echo "${ECHO_T}$xthreads" >&6
if test "x$xthreads" = "xyes"
then
- GLX_LIBS="$GLX_LIBS -lpthread"
+ GLX_LIBS="$GLX_LIBS -pthread"
cat >>confdefs.h <<\_ACEOF
#define XTHREADS 1
_ACEOF
@@ -21830,7 +21830,7 @@ echo "${ECHO_T}$use_agl" >&6
if test "x$use_agl" = "xyes"; then
save_libs="$LIBS"
- LIBS="-lpthread"
+ LIBS="-pthread"
echo "$as_me:$LINENO: checking for PTHREADS" >&5
echo $ECHO_N "checking for PTHREADS... $ECHO_C" >&6
@@ -21892,7 +21892,7 @@ rm -f conftest.err conftest.$ac_objext \
if test "x$use_pthreads" = "xyes"
then
- AGL_LIBS="$AGL_LIBS -lpthread"
+ AGL_LIBS="$AGL_LIBS -pthread"
cat >>confdefs.h <<\_ACEOF
#define PTHREADS 1
_ACEOF
@@ -21945,7 +21945,7 @@ if test "x$use_egl" = "xyes"; then
EGL_CFLAGS="$EGL_CFLAGS"
save_libs="$LIBS"
- LIBS="-lpthread"
+ LIBS="-pthread"
echo "$as_me:$LINENO: checking for PTHREADS" >&5
echo $ECHO_N "checking for PTHREADS... $ECHO_C" >&6
@@ -22007,7 +22007,7 @@ rm -f conftest.err conftest.$ac_objext \
if test "x$use_pthreads" = "xyes"
then
- EGL_LIBS="$EGL_LIBS -lpthread"
+ EGL_LIBS="$EGL_LIBS -pthread"
cat >>confdefs.h <<\_ACEOF
#define PTHREADS 1
_ACEOF