pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/MesaLib Disable llvm option on SunOS, it does...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/35ec57034341
branches:  trunk
changeset: 359395:35ec57034341
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Mar 09 09:51:04 2017 +0000

description:
Disable llvm option on SunOS, it doesn't build.

diffstat:

 graphics/MesaLib/options.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 5192f2a72b17 -r 35ec57034341 graphics/MesaLib/options.mk
--- a/graphics/MesaLib/options.mk       Thu Mar 09 03:59:35 2017 +0000
+++ b/graphics/MesaLib/options.mk       Thu Mar 09 09:51:04 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.52 2017/03/02 06:00:03 maya Exp $
+# $NetBSD: options.mk,v 1.53 2017/03/09 09:51:04 jperkin Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.MesaLib
 PKG_SUPPORTED_OPTIONS=         llvm dri
@@ -7,7 +7,8 @@
 # The LLVM option enables JIT accelerated software rendering and
 # 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")
+.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") && \
+       ${OPSYS} != "SunOS"
 PKG_SUGGESTED_OPTIONS+=                llvm
 .endif
 



Home | Main Index | Thread Index | Old Index