multimedia/libxine: fix build on aarch64

aarch64 requires binutils:
  configure: error: no acceptable as found in $PATH
This commit is contained in:
Mikael Urankar 2020-11-15 13:16:54 +00:00
parent b65a01d1d4
commit 726efea234
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=555210

View File

@ -130,6 +130,10 @@ XVMC_CONFIGURE_ENABLE= xvmc
.include <bsd.port.pre.mk>
.if ${ARCH} == aarch64
BUILD_DEPENDS+= as:devel/binutils
.endif
post-patch:
.if ${COMPILER_TYPE} == "clang"
@${REINPLACE_CMD} -e 's|-fno-rename-registers||' \