Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jun 2021 09:00:35 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e95168491dca - main - multimedia/libxine: fix build on powerpc
Message-ID:  <202106160900.15G90ZlO015362@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

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

commit e95168491dca197c91b8b11d105c208d0c5245c2
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-06-16 09:00:19 +0000
Commit:     Piotr Kubaj <pkubaj@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}



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