svn commit: r547136 - head/multimedia/libde265

Piotr Kubaj pkubaj at FreeBSD.org
Mon Aug 31 00:33:14 UTC 2020


Author: pkubaj
Date: Mon Aug 31 00:33:13 2020
New Revision: 547136
URL: https://svnweb.freebsd.org/changeset/ports/547136

Log:
  multimedia/libde265: fix build on armv6, armv7
  
  Use GNU LD from binutils to fix build.

Modified:
  head/multimedia/libde265/Makefile

Modified: head/multimedia/libde265/Makefile
==============================================================================
--- head/multimedia/libde265/Makefile	Mon Aug 31 00:29:09 2020	(r547135)
+++ head/multimedia/libde265/Makefile	Mon Aug 31 00:33:13 2020	(r547136)
@@ -17,7 +17,12 @@ USES=		autoreconf compiler:c++11-lib libtool pathfix p
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-sherlock265 --disable-dec265
 
-BROKEN_armv6=		fails to compile: invokes x86 assembler
-BROKEN_armv7=		fails to compile: invokes x86 assembler
+.include <bsd.port.pre.mk>
 
-.include <bsd.port.mk>
+.if ${ARCH} == "armv6" || ${ARCH} == "armv7"
+BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils
+CONFIGURE_ENV+= CCASFLAGS="${CFLAGS} -B${LOCALBASE}/bin -no-integrated-as"
+LLD_UNSAFE=     yes
+.endif
+
+.include <bsd.port.post.mk>


More information about the svn-ports-head mailing list