pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/MesaLib18 MesaLib18: remove workaround for pk...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/113fd2183c44
branches:  trunk
changeset: 324174:113fd2183c44
user:      maya <maya%pkgsrc.org@localhost>
date:      Wed Oct 10 10:56:11 2018 +0000

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

diffstat:

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

diffs (24 lines):

diff -r 1c0055d9abb5 -r 113fd2183c44 graphics/MesaLib18/Makefile
--- a/graphics/MesaLib18/Makefile       Wed Oct 10 10:54:58 2018 +0000
+++ b/graphics/MesaLib18/Makefile       Wed Oct 10 10:56:11 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/10/07 23:49:31 ryoon Exp $
+# $NetBSD: Makefile,v 1.2 2018/10/10 10:56:11 maya Exp $
 
 DISTNAME=      mesa-18.2.0
 PKGNAME=       ${DISTNAME:S/mesa/MesaLib/}
@@ -69,14 +69,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