git: fb615b1a565d - main - audio/carla: fix build on powerpc64le

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Sat, 30 Jul 2022 11:04:33 UTC
The branch main has been updated by pkubaj:

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

commit fb615b1a565d7cf6f2e4ff9d21c79c38f1ba5c78
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-07-30 11:02:56 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-07-30 11:04:12 +0000

    audio/carla: fix build on powerpc64le
    
    Use the portable eel mode instead of dedicated assembly:
    gmake[2]: Entering directory '/wrkdirs/usr/ports/audio/carla/work/Carla-2.5.0/source/modules/ysfx'
    Compiling thirdparty/WDL/source/WDL/eel2/nseel-cfunc.c
    {standard input}: Assembler messages:
    {standard input}:1444: Error: syntax error; found `(', expected `,'
    {standard input}:1444: Error: junk at end of line: `(1048576)'
    {standard input}:1445: Error: syntax error; found `(', expected `,'
    {standard input}:1445: Error: junk at end of line: `(1048576)'
    {standard input}:1490: Error: syntax error; found `(', expected `,'
    {standard input}:1490: Error: junk at end of line: `(1048576)'
    {standard input}:1491: Error: syntax error; found `(', expected `,'
    {standard input}:1491: Error: junk at end of line: `(1048576)'
    {standard input}:2249: Error: missing operand
---
 audio/carla/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/audio/carla/Makefile b/audio/carla/Makefile
index 307b8b5cdc0d..77a68bc66a5c 100644
--- a/audio/carla/Makefile
+++ b/audio/carla/Makefile
@@ -12,8 +12,6 @@ COMMENT=	Audio plugin host for Jack and PulseAudio
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/doc/GPL.txt
 
-BROKEN_powerpc64le=	fails to build, see https://github.com/falkTX/Carla/issues/1651
-
 LIB_DEPENDS=	liblo.so:audio/liblo \
 		libsndfile.so:audio/libsndfile
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyliblo>0:audio/py-pyliblo@${PY_FLAVOR}
@@ -68,6 +66,8 @@ JACK_MAKE_ARGS_OFF=		HAVE_JACK=false
 PULSEAUDIO_LIB_DEPENDS=		libpulse-simple.so:audio/pulseaudio
 PULSEAUDIO_MAKE_ARGS_OFF=	HAVE_PULSEAUDIO=false
 
+CFLAGS_powerpc64le=	-DEEL_TARGET_PORTABLE
+
 post-install:
 	@${REINPLACE_CMD} -i '' -e ' \
 		s|^PYTHON=.*|PYTHON=${PYTHON_CMD}|; \