git: e95168491dca - main - multimedia/libxine: fix build on powerpc

Piotr Kubaj pkubaj at FreeBSD.org
Wed Jun 16 09:00:36 UTC 2021


The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e95168491dca197c91b8b11d105c208d0c5245c2

commit e95168491dca197c91b8b11d105c208d0c5245c2
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-06-16 09:00:19 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-06-16 09:00:19 +0000

    multimedia/libxine: fix build on powerpc
    
    Use GNU assembler:
    ppcasm_string.S:46:15: error: unsupported directive '.stabs'
           .stabs "src/xine-utils",100,0,0,.
---
 multimedia/libxine/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/multimedia/libxine/Makefile b/multimedia/libxine/Makefile
index a8773dfef81d..1d422f8d8a47 100644
--- a/multimedia/libxine/Makefile
+++ b/multimedia/libxine/Makefile
@@ -159,6 +159,9 @@ XVMC_CONFIGURE_ENABLE=		xvmc
 
 .if ${ARCH} == aarch64
 BUILD_DEPENDS+=	as:devel/binutils
+.elif ${ARCH} == powerpc
+BUILD_DEPENDS+=	as:devel/binutils
+CFLAGS+=	-fno-integrated-as
 .endif
 
 .if !${PORT_OPTIONS:MGNUTLS} && !${PORT_OPTIONS:MOPENSSL}


More information about the dev-commits-ports-main mailing list