Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 May 2020 16:43:59 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r534854 - head/graphics/vulkan-loader
Message-ID:  <202005101643.04AGhxs3071715@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sun May 10 16:43:59 2020
New Revision: 534854
URL: https://svnweb.freebsd.org/changeset/ports/534854

Log:
  graphics/vulkan-loader: unbreak without /usr/bin/as on amd64/i386
  
  CMake Error at loader/CMakeLists.txt:151 (enable_language):
    No CMAKE_ASM-ATT_COMPILER could be found.
  
    Tell CMake where to find the compiler by setting either the environment
    variable "ASM-ATT" or the CMake cache entry CMAKE_ASM-ATT_COMPILER to the
    full path to the compiler, or to the compiler name if it is in the PATH.
  
  PR:		205250
  Reported by:	antoine (via exp-run)

Modified:
  head/graphics/vulkan-loader/Makefile   (contents, props changed)

Modified: head/graphics/vulkan-loader/Makefile
==============================================================================
--- head/graphics/vulkan-loader/Makefile	Sun May 10 15:43:16 2020	(r534853)
+++ head/graphics/vulkan-loader/Makefile	Sun May 10 16:43:59 2020	(r534854)
@@ -11,7 +11,8 @@ COMMENT=	Driver loader for the Vulkan graphics API
 
 LICENSE=	APACHE20
 
-BUILD_DEPENDS=	${LOCALBASE}/include/vulkan/vulkan.h:devel/vulkan-headers
+BUILD_DEPENDS=	as:devel/binutils \
+		${LOCALBASE}/include/vulkan/vulkan.h:devel/vulkan-headers
 
 USES=		cmake compiler:c++11-lib pkgconfig python:3.4+,build
 USE_LDCONFIG=	yes
@@ -38,11 +39,5 @@ XCB_LIB_DEPENDS=	libX11-xcb.so:x11/libX11 \
 			libxcb.so:x11/libxcb
 WAYLAND_CMAKE_BOOL=	BUILD_WSI_WAYLAND_SUPPORT
 WAYLAND_LIB_DEPENDS=	libwayland-egl.so:graphics/wayland
-
-post-patch:
-# Non-x86 targets use C code, so don't abort without GNU as (e.g., on aarch64)
-.if !exists(/usr/bin/as) && ${MACHINE_ARCH} != i386 && ${MACHINE_ARCH} != amd64
-	@${REINPLACE_CMD} 's/-ATT//' ${WRKSRC}/loader/CMakeLists.txt
-.endif
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005101643.04AGhxs3071715>