pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/MesaLib Enable the pthread-based thread-safet...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/99552e7b37c0
branches:  trunk
changeset: 495689:99552e7b37c0
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Jun 17 15:54:06 2005 +0000

description:
Enable the pthread-based thread-safety code in pkgsrc MesaLib.
Bump the PKGREVISION to 2.  This fixes PR pkg/30537.

diffstat:

 graphics/MesaLib/Makefile         |  6 ++++--
 graphics/MesaLib/builtin.mk       |  8 ++++++--
 graphics/MesaLib/distinfo         |  4 ++--
 graphics/MesaLib/patches/patch-ab |  4 ++--
 4 files changed, 14 insertions(+), 8 deletions(-)

diffs (79 lines):

diff -r 70739a0ea1d9 -r 99552e7b37c0 graphics/MesaLib/Makefile
--- a/graphics/MesaLib/Makefile Fri Jun 17 15:46:46 2005 +0000
+++ b/graphics/MesaLib/Makefile Fri Jun 17 15:54:06 2005 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.39 2005/06/05 15:39:06 minskim Exp $
+# $NetBSD: Makefile,v 1.40 2005/06/17 15:54:06 jlam Exp $
 
 PKGNAME=       MesaLib-${MESA_VERSION}
-PKGREVISION=   1
+PKGREVISION=   2
 COMMENT=       Graphics library similar to SGI's OpenGL
 
 .include "../Mesa/Makefile.common"
@@ -19,6 +19,8 @@
 BUILDLINK_TRANSFORM+=   rm:-O[23]
 .endif
 
+.include "../../mk/pthread.buildlink3.mk"
+
 pre-build:
        cd ${WRKSRC} && ${RM} -fr src/glu src/glut progs
 
diff -r 70739a0ea1d9 -r 99552e7b37c0 graphics/MesaLib/builtin.mk
--- a/graphics/MesaLib/builtin.mk       Fri Jun 17 15:46:46 2005 +0000
+++ b/graphics/MesaLib/builtin.mk       Fri Jun 17 15:54:06 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.9 2005/06/03 19:12:49 jlam Exp $
+# $NetBSD: builtin.mk,v 1.10 2005/06/17 15:54:06 jlam Exp $
 
 BUILTIN_PKG:=  MesaLib
 
@@ -68,7 +68,11 @@
 .if !empty(CHECK_BUILTIN.MesaLib:M[nN][oO])
 
 .  if !empty(USE_BUILTIN.MesaLib:M[nN][oO])
-BUILDLINK_DEPENDS.MesaLib+=    MesaLib>=6.0
+BUILDLINK_DEPENDS.MesaLib+=    MesaLib>=6.2.1nb2
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
+.    include "../../mk/pthread.buildlink3.mk"
+.    include "../../mk/pthread.builtin.mk"
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH:S/+$//}
 .  endif
 
 .  if !empty(USE_BUILTIN.MesaLib:M[yY][eE][sS])
diff -r 70739a0ea1d9 -r 99552e7b37c0 graphics/MesaLib/distinfo
--- a/graphics/MesaLib/distinfo Fri Jun 17 15:46:46 2005 +0000
+++ b/graphics/MesaLib/distinfo Fri Jun 17 15:54:06 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.28 2005/06/07 14:31:48 minskim Exp $
+$NetBSD: distinfo,v 1.29 2005/06/17 15:54:06 jlam Exp $
 
 SHA1 (Mesa-6.2.1/MesaLib-6.2.1.tar.bz2) = 7c4fb46ae17b066e85e90592ace496ac6b36c189
 RMD160 (Mesa-6.2.1/MesaLib-6.2.1.tar.bz2) = cfc5e8db61289c017ff20dd6b4c6db5c7b66855b
@@ -7,7 +7,7 @@
 RMD160 (Mesa-6.2.1/MesaDemos-6.2.1.tar.bz2) = 62b3ebc47e822c4704b69c9888e74bae12a1391b
 Size (Mesa-6.2.1/MesaDemos-6.2.1.tar.bz2) = 1004511 bytes
 SHA1 (patch-aa) = 90457ea124a42150e3a37b48e1e0691597668606
-SHA1 (patch-ab) = 8de78b793e384578d8821a4ef487bb2b39ebfcb6
+SHA1 (patch-ab) = c257a57d4570576f160e9a4c029384718402c1bd
 SHA1 (patch-ac) = 9a0717105fef41e84b5faebaa8bd91d1c0964b86
 SHA1 (patch-ad) = 000d115933e3f75ca096effa47e8d19c900fe95c
 SHA1 (patch-ae) = a92133c77b1b958dcfe9b37ddc317d6ff31157d0
diff -r 70739a0ea1d9 -r 99552e7b37c0 graphics/MesaLib/patches/patch-ab
--- a/graphics/MesaLib/patches/patch-ab Fri Jun 17 15:46:46 2005 +0000
+++ b/graphics/MesaLib/patches/patch-ab Fri Jun 17 15:54:06 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.13 2004/10/27 19:20:33 drochner Exp $
+$NetBSD: patch-ab,v 1.14 2005/06/17 15:54:07 jlam Exp $
 
 --- /dev/null  2004-10-25 16:57:21.000000000 +0000
 +++ configs/pkgsrc
@@ -10,6 +10,6 @@
 +CONFIG_NAME = pkgsrc
 +
 +# Compiler and flags
-+CFLAGS+= -DUSE_XSHM
++CFLAGS+= -DUSE_XSHM -DPTHREADS
 +APP_LIB_DEPS = -L$(LIB_DIR) -L${PREFIX}/lib -L${X11PREFIX}/lib -lXext -lXmu -lXi -lX11 -lm
 +



Home | Main Index | Thread Index | Old Index