pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/MesaLib7 Remove dependency on pthread-stublib.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b6bde0c6ead9
branches:  trunk
changeset: 384695:b6bde0c6ead9
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sat Sep 01 20:46:07 2018 +0000

description:
Remove dependency on pthread-stublib.

This dependency has been conditional for NetBSD before 3.0 (!), thus
removing it is no change in the package.

diffstat:

 graphics/MesaLib7/Makefile      |  10 ++--------
 graphics/MesaLib7/buildlink3.mk |   6 +-----
 2 files changed, 3 insertions(+), 13 deletions(-)

diffs (44 lines):

diff -r 0778c72abfac -r b6bde0c6ead9 graphics/MesaLib7/Makefile
--- a/graphics/MesaLib7/Makefile        Sat Sep 01 20:35:22 2018 +0000
+++ b/graphics/MesaLib7/Makefile        Sat Sep 01 20:46:07 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2018/07/03 05:03:19 adam Exp $
+# $NetBSD: Makefile,v 1.13 2018/09/01 20:46:07 bsiegert Exp $
 
 DISTNAME?=     ${MESA_DISTNAME}
 PKGNAME=       MesaLib7-${MESA_PKGVERSION}
@@ -80,13 +80,7 @@
 
 .include "options.mk"
 
-.if !empty(MACHINE_PLATFORM:MNetBSD-[12].*)
-##
-## NetBSD 2.x and earlier require pthread stubs
-##
-.  include "../../devel/pthread-stublib/buildlink3.mk"
-PTHREAD_STUBLIB= -L${PREFIX}/lib -Wl,-R${PREFIX}/lib -lpthstub
-.elif !empty(MACHINE_PLATFORM:MNetBSD-*)
+.if !empty(MACHINE_PLATFORM:MNetBSD-*)
 ##
 ## NetBSD 3.x and later have pthread stubs in libc
 ##
diff -r 0778c72abfac -r b6bde0c6ead9 graphics/MesaLib7/buildlink3.mk
--- a/graphics/MesaLib7/buildlink3.mk   Sat Sep 01 20:35:22 2018 +0000
+++ b/graphics/MesaLib7/buildlink3.mk   Sat Sep 01 20:46:07 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2018/01/07 13:04:12 rillig Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2018/09/01 20:46:07 bsiegert Exp $
 
 BUILDLINK_TREE+=       MesaLib7
 
@@ -28,10 +28,6 @@
 .  include "../../graphics/MesaLib/dri.mk"
 .endif
 
-.if !empty(MACHINE_PLATFORM:MNetBSD-[12].*)
-.include "../../devel/pthread-stublib/buildlink3.mk"
-.endif
-
 .include "../../x11/libXext/buildlink3.mk"
 .endif # MESALIB7_BUILDLINK3_MK
 



Home | Main Index | Thread Index | Old Index