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

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

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

commit f7864f141345fdb45daddd4395082b06e0d5b645
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:35 +0000

    audio/surge-synthesizer-xt-lv2: Fix build on ARM
    
    ... by adding cmake argument that docs require on ARM
    
    Reported by:    fallout
    
    (cherry picked from commit c86b7de05b7e5975f143b9b48cd2ba95eec647a3)
---
 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.26OK6eoV074176>