Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jul 2022 20:06:13 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c86b7de05b7e - main - audio/surge-synthesizer-xt-lv2: Fix build on ARM
Message-ID:  <202207242006.26OK6Dhm074016@gitrepo.freebsd.org>

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

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

commit c86b7de05b7e5975f143b9b48cd2ba95eec647a3
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-24 20:05:17 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-24 20:06:10 +0000

    audio/surge-synthesizer-xt-lv2: Fix build on ARM
    
    ... by adding cmake argument that docs require on ARM
    
    Reported by:    fallout
---
 audio/surge-synthesizer-xt-lv2/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/audio/surge-synthesizer-xt-lv2/Makefile b/audio/surge-synthesizer-xt-lv2/Makefile
index bb7263e01567..d287e4274236 100644
--- a/audio/surge-synthesizer-xt-lv2/Makefile
+++ b/audio/surge-synthesizer-xt-lv2/Makefile
@@ -63,4 +63,10 @@ BINARY_ALIAS=	python=${PYTHON_CMD}
 
 PORTSCOUT=	ignore:1 # conflicts with old-gen audio/surge-synthesizer-lv2
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == armv6 || ${ARCH} == armv7 || ${ARCH} == aarch64
+CMAKE_ARGS+=	-DARM_NATIVE=native # based on https://github.com/surge-synthesizer/surge/tree/release/1.9.0#building-for-arm-platforms
+.endif
+
 .include <bsd.port.mk>



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