pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/MesaLib MesaLib: remove workaround for pkgsrc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1c0055d9abb5
branches:  trunk
changeset: 324173:1c0055d9abb5
user:      maya <maya%pkgsrc.org@localhost>
date:      Wed Oct 10 10:54:58 2018 +0000

description:
MesaLib: remove workaround for pkgsrc GCC already fixed in GCC (upstream
and in pkgsrc)

diffstat:

 graphics/MesaLib/Makefile |  10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diffs (24 lines):

diff -r 3e8063c55b62 -r 1c0055d9abb5 graphics/MesaLib/Makefile
--- a/graphics/MesaLib/Makefile Wed Oct 10 09:59:57 2018 +0000
+++ b/graphics/MesaLib/Makefile Wed Oct 10 10:54:58 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.142 2018/08/31 08:26:42 wiz Exp $
+# $NetBSD: Makefile,v 1.143 2018/10/10 10:54:58 maya Exp $
 
 DISTNAME=      mesa-11.2.2
 PKGNAME=       ${DISTNAME:S/mesa/MesaLib/}
@@ -84,14 +84,6 @@
 CONFIGURE_ENV+=                ac_cv_prog_PYTHON2=${PYTHONBIN}
 .include "../../lang/python/tool.mk"
 
-# On NetBSD < 6 we need to compile with GCC from pkgsrc.
-# But GCC from pkgsrc does not add implicit -lc like base GCC does,
-# which breaks the build with -Wl,--no-undefined.
-# So we piggy back on -lpthread and inject -lc after it.
-.if !empty(MACHINE_PLATFORM:MNetBSD-[1-5].*-*)
-BUILDLINK_TRANSFORM+=   l:pthread:pthread:c l:m:m:c
-.endif
-
 # Handle platforms without exp2
 .if !empty(MACHINE_PLATFORM:MNetBSD-[1-5].*-*)
 CPPFLAGS+=     -Dexp2\(x\)=exp\(\(x\)\*M_LN2\)



Home | Main Index | Thread Index | Old Index