diff options
author | maya <maya@pkgsrc.org> | 2018-10-10 10:54:58 +0000 |
---|---|---|
committer | maya <maya@pkgsrc.org> | 2018-10-10 10:54:58 +0000 |
commit | a9102750f13afa314aa12c91e8096d934a065af9 (patch) | |
tree | 7a6c9d51bca987df9a575ab65f6f09fa25a79eb1 /graphics | |
parent | 68417128c41b52f0d08665d13da61dab757bcb13 (diff) | |
download | pkgsrc-a9102750f13afa314aa12c91e8096d934a065af9.tar.gz |
MesaLib: remove workaround for pkgsrc GCC already fixed in GCC (upstream
and in pkgsrc)
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/MesaLib/Makefile | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/graphics/MesaLib/Makefile b/graphics/MesaLib/Makefile index 9ae8128453b..728272191b7 100644 --- a/graphics/MesaLib/Makefile +++ b/graphics/MesaLib/Makefile @@ -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 @@ BUILD_DEPENDS+= ${PYPKGPREFIX}-mako-[0-9]*:../../devel/py-mako 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\) |