svn commit: r519075 - head/graphics/mesa-dri

Piotr Kubaj pkubaj at FreeBSD.org
Thu Dec 5 10:28:11 UTC 2019


Author: pkubaj
Date: Thu Dec  5 10:28:10 2019
New Revision: 519075
URL: https://svnweb.freebsd.org/changeset/ports/519075

Log:
  graphics/mesa-dri: remove ppc64 elfv2 workaround
  
  After https://svnweb.freebsd.org/base?view=revision&revision=355397, base clang can compile mesa on ppc64, so there's no need for this workaround anymore.
  
  No PORTREVISION bump because elfv2 still isn't the default.
  
  Approved by:	zeising (maintainer), mentors (implicit approval)
  Differential Revision:	https://reviews.freebsd.org/D22686

Modified:
  head/graphics/mesa-dri/Makefile.common

Modified: head/graphics/mesa-dri/Makefile.common
==============================================================================
--- head/graphics/mesa-dri/Makefile.common	Thu Dec  5 10:21:57 2019	(r519074)
+++ head/graphics/mesa-dri/Makefile.common	Thu Dec  5 10:28:10 2019	(r519075)
@@ -86,12 +86,6 @@ BUILD_DEPENDS+=	llvm${LLVM_DEFAULT}>=3.9.0_4:devel/llv
 .if ${COMPONENT} != libs
 RUN_DEPENDS+=	llvm${LLVM_DEFAULT}>=3.9.0_4:devel/llvm${LLVM_DEFAULT}
 .endif
-.if defined(PPC_ABI) && ${PPC_ABI} == ELFv2
-CFLAGS+=	-mabi=elfv2
-CXXFLAGS+=	-mabi=elfv2
-CONFIGURE_ENV+=	CC=${LOCALBASE}/bin/clang${LLVM_DEFAULT} \
-		CXX=${LOCALBASE}/bin/clang++${LLVM_DEFAULT}
-.endif
 CONFIGURE_ENV+=	LLVM_CONFIG=${LOCALBASE}/bin/llvm-config${LLVM_DEFAULT}
 LDFLAGS+=	-Wl,-rpath=${LOCALBASE}/llvm${LLVM_DEFAULT}/lib
 CONFIGURE_ARGS+=	--enable-llvm


More information about the svn-ports-all mailing list