summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2017-03-20 23:59:01 +0000
committergdt <gdt@pkgsrc.org>2017-03-20 23:59:01 +0000
commit0dcb7bd92d567a6c58c6a84f76e77ee543a604d0 (patch)
tree6b61c727e92cbbf8c7d9fb568b5268a968231471 /graphics
parent5827884e35c56cf419d4eb8be379d9bc9e14664d (diff)
downloadpkgsrc-0dcb7bd92d567a6c58c6a84f76e77ee543a604d0.tar.gz
Do not suggest llvm option on Darwin
With llvm, the build fails, as apparently llvm turns on including multiple libraries that do not build. (Until recently, this option was not enabled by default, so this change is essentially omitting Darwin from the change to default to llvm in i386/x86_64.) Thanks to maya@ for explaining/suggesting.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/MesaLib/Makefile4
-rw-r--r--graphics/MesaLib/options.mk4
2 files changed, 4 insertions, 4 deletions
diff --git a/graphics/MesaLib/Makefile b/graphics/MesaLib/Makefile
index 7745e652a00..0997a6ccdbb 100644
--- a/graphics/MesaLib/Makefile
+++ b/graphics/MesaLib/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.135 2017/03/02 06:00:03 maya Exp $
+# $NetBSD: Makefile,v 1.136 2017/03/20 23:59:01 gdt Exp $
DISTNAME= mesa-11.2.2
PKGNAME= ${DISTNAME:S/mesa/MesaLib/}
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= graphics x11
MASTER_SITES= ftp://ftp.freedesktop.org/pub/mesa/${PKGVERSION_NOREV}/
EXTRACT_SUFX= .tar.xz
diff --git a/graphics/MesaLib/options.mk b/graphics/MesaLib/options.mk
index 7965fefc680..01f43b3cbe4 100644
--- a/graphics/MesaLib/options.mk
+++ b/graphics/MesaLib/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.53 2017/03/09 09:51:04 jperkin Exp $
+# $NetBSD: options.mk,v 1.54 2017/03/20 23:59:01 gdt Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.MesaLib
PKG_SUPPORTED_OPTIONS= llvm dri
@@ -8,7 +8,7 @@ PKG_SUGGESTED_OPTIONS=
# is also required to support the latest RADEON GPUs, so enable it
# by default on platforms where such GPUs might be encountered.
.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") && \
- ${OPSYS} != "SunOS"
+ ${OPSYS} != "SunOS" && ${OPSYS} != "Darwin"
PKG_SUGGESTED_OPTIONS+= llvm
.endif