summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2018-10-10 10:56:11 +0000
committermaya <maya@pkgsrc.org>2018-10-10 10:56:11 +0000
commitc0640d182db56755edcd70895445a2da11735de6 (patch)
treeae1287b21304c323bdccb50165f2fa0c08e71128 /graphics
parenta9102750f13afa314aa12c91e8096d934a065af9 (diff)
downloadpkgsrc-c0640d182db56755edcd70895445a2da11735de6.tar.gz
MesaLib18: remove workaround for pkgsrc GCC already fixed in GCC (upstream
and in pkgsrc)
Diffstat (limited to 'graphics')
-rw-r--r--graphics/MesaLib18/Makefile10
1 files changed, 1 insertions, 9 deletions
diff --git a/graphics/MesaLib18/Makefile b/graphics/MesaLib18/Makefile
index 304340af6ba..36000bfd37a 100644
--- a/graphics/MesaLib18/Makefile
+++ b/graphics/MesaLib18/Makefile
@@ -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 @@ 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\)