pkgsrc-WIP-changes archive

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

MesaLib-dfbsd: Update wip/MesaLib-dfbsd to 17.1.6



Module Name:	pkgsrc-wip
Committed By:	David Shao <davshao%gmail.com@localhost>
Pushed By:	dshao
Date:		Tue Aug 8 18:05:30 2017 -0700
Changeset:	bdbb5c4f35d6ceaf6e7a4b966989b413275a11de

Modified Files:
	MesaLib-dfbsd/Makefile
	MesaLib-dfbsd/distinfo
	MesaLib-dfbsd/options.mk

Log Message:
MesaLib-dfbsd: Update wip/MesaLib-dfbsd to 17.1.6

Changes: Bug fixes

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=bdbb5c4f35d6ceaf6e7a4b966989b413275a11de

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 MesaLib-dfbsd/Makefile   |  8 +++++---
 MesaLib-dfbsd/distinfo   |  8 ++++----
 MesaLib-dfbsd/options.mk | 29 ++++++-----------------------
 3 files changed, 15 insertions(+), 30 deletions(-)

diffs:
diff --git a/MesaLib-dfbsd/Makefile b/MesaLib-dfbsd/Makefile
index 7168c1b43d..cb38db7d2a 100644
--- a/MesaLib-dfbsd/Makefile
+++ b/MesaLib-dfbsd/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.129 2016/10/20 12:06:06 wiz Exp $
+# $NetBSD: Makefile,v 1.137 2017/03/22 20:22:31 markd Exp $
 
-DISTNAME=	mesa-17.1.2
+DISTNAME=	mesa-17.1.6
 PKGNAME=	${DISTNAME:S/mesa/MesaLib/}
 CATEGORIES=	graphics x11
-# Waiting for 17.0.1 subdirectory to be created
 # MASTER_SITES=	ftp://ftp.freedesktop.org/pub/mesa/${PKGVERSION_NOREV}/
 MASTER_SITES=	ftp://ftp.freedesktop.org/pub/mesa/
 EXTRACT_SUFX=	.tar.xz
@@ -18,6 +17,9 @@ USE_TOOLS+=	bison pkg-config gmake flex
 USE_LANGUAGES=	c99 c++
 USE_LIBTOOL=	yes
 
+#CFLAGS+=	-g -O0
+#CXXFLAGS+=	-g -O0
+
 GCC_REQD+=	4.2
 
 PKGCONFIG_OVERRIDE+=	src/egl/main/egl.pc.in
diff --git a/MesaLib-dfbsd/distinfo b/MesaLib-dfbsd/distinfo
index 7fa0afd85f..c80731ef16 100644
--- a/MesaLib-dfbsd/distinfo
+++ b/MesaLib-dfbsd/distinfo
@@ -1,9 +1,9 @@
 $NetBSD: distinfo,v 1.117 2016/05/18 12:55:28 wiz Exp $
 
-SHA1 (mesa-17.1.2.tar.xz) = 9433bd12ac1509d22100c9cd68e15c406daccf2e
-RMD160 (mesa-17.1.2.tar.xz) = 0925938488ccdd567d0640c97703e6b2e67f30f2
-SHA512 (mesa-17.1.2.tar.xz) = 9df5e1a0336948a6ba338a9a8499b286543bc079f61f1cf85f6ecf98e05fab9a237777cde0d1e3f2153df9b07515cb8c1a08531d43f053783991ecdd32380d3b
-Size (mesa-17.1.2.tar.xz) = 9837516 bytes
+SHA1 (mesa-17.1.6.tar.xz) = 2acc201e24ea67c5231074d6746a42a747228ed6
+RMD160 (mesa-17.1.6.tar.xz) = 43a9b758462316ad344ccdccf72d6d0ce295620e
+SHA512 (mesa-17.1.6.tar.xz) = cf57f29a21208f0a9bc84157f806bcaf6fd0583352449fcb986b05773eeefc99c4040dc41b242782dd5aa9ff7f9c5312b17a4db82d87f600acf165b6acdfc95a
+Size (mesa-17.1.6.tar.xz) = 9868932 bytes
 SHA1 (patch-include_c11_threads__posix.h) = 0f80c61a2fcfb2ce039fec6b50f126c3e84c33f9
 SHA1 (patch-src_compiler_glsl_glsl__parser__extras.cpp) = a08fc533940472bfa7634f0a2285e85d42c7a4e2
 SHA1 (patch-src_egl_drivers_dri2_platform__drm.c) = d57bc532cda89c49ce271bf55c5de97c48a9a5fe
diff --git a/MesaLib-dfbsd/options.mk b/MesaLib-dfbsd/options.mk
index 21945ca3c3..cc516cccb0 100644
--- a/MesaLib-dfbsd/options.mk
+++ b/MesaLib-dfbsd/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.49 2016/02/25 13:37:46 jperkin Exp $
+# $NetBSD: options.mk,v 1.57 2017/07/01 12:48:10 maya Exp $
 
 PKG_OPTIONS_VAR=		PKG_OPTIONS.MesaLib
 PKG_SUPPORTED_OPTIONS=		llvm dri
@@ -7,33 +7,15 @@ PKG_SUPPORTED_OPTIONS+=		vdpau vaapi
 
 PKG_SUGGESTED_OPTIONS+=		vdpau vaapi
 
+.if ${OPSYS} != "Darwin"
 PKG_SUGGESTED_OPTIONS+=		dri3
-# dri3 working requires kernel support for dma_buf
-# .if ${OPSYS} == "Linux"
-# PKG_SUGGESTED_OPTIONS+=		dri3
-# .endif
+.endif
 
 # 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 \
-	!empty(MACHINE_PLATFORM:MNetBSD-[789].*-i386) ||	\
-	!empty(MACHINE_PLATFORM:MNetBSD-[789].*-x86_64) ||	\
-	!empty(MACHINE_PLATFORM:MNetBSD-[789].*-sparc64) ||	\
-	!empty(MACHINE_PLATFORM:MNetBSD-[789].*-*arm*)
-PKG_SUGGESTED_OPTIONS+=		llvm
-.endif
-
-.if	(!empty(MACHINE_PLATFORM:MLinux-*-i386) ||	\
-	 !empty(MACHINE_PLATFORM:MLinux-*-x86_64)) &&	\
-	(!empty(CC_VERSION:Mgcc-4.[89].*) ||		\
-	 !empty(CC_VERSION:Mgcc-[56].*))
-PKG_SUGGESTED_OPTIONS+=		llvm
-.endif
-
-.if \
-	!empty(MACHINE_PLATFORM:MFreeBSD-1[0-9].*-x86_64) ||	\
-	!empty(MACHINE_PLATFORM:MDragonFly-*-x86_64)
+.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") && \
+	${OPSYS} != "SunOS" && ${OPSYS} != "Darwin"
 PKG_SUGGESTED_OPTIONS+=		llvm
 .endif
 
@@ -247,6 +229,7 @@ CONFIGURE_ARGS+=	--enable-llvm-shared-libs
 # CONFIGURE_ARGS+=	--enable-r600-llvm-compiler
 .include "../../devel/libelf/buildlink3.mk"
 CPPFLAGS+=		-I${BUILDLINK_PREFIX.libelf}/include/libelf
+BUILDLINK_API_DEPENDS.libLLVM+= libLLVM>=4.0
 .include "../../lang/libLLVM/buildlink3.mk"
 CONFIGURE_ENV+=		ac_cv_path_ac_pt_LLVM_CONFIG=${LLVM_CONFIG_PATH}
 .else # !llvm


Home | Main Index | Thread Index | Old Index