pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/MesaLib Do not suggest llvm option on Darwin



details:   https://anonhg.NetBSD.org/pkgsrc/rev/71fc9abe7904
branches:  trunk
changeset: 360088:71fc9abe7904
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Mon Mar 20 23:59:01 2017 +0000

description:
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:

 graphics/MesaLib/Makefile   |  4 ++--
 graphics/MesaLib/options.mk |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 704d2335f435 -r 71fc9abe7904 graphics/MesaLib/Makefile
--- a/graphics/MesaLib/Makefile Mon Mar 20 22:54:17 2017 +0000
+++ b/graphics/MesaLib/Makefile Mon Mar 20 23:59:01 2017 +0000
@@ -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 -r 704d2335f435 -r 71fc9abe7904 graphics/MesaLib/options.mk
--- a/graphics/MesaLib/options.mk       Mon Mar 20 22:54:17 2017 +0000
+++ b/graphics/MesaLib/options.mk       Mon Mar 20 23:59:01 2017 +0000
@@ -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 @@
 # 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
 



Home | Main Index | Thread Index | Old Index