From b6f5fce7454ead5549c7f9e65a62bc4252e16b48 Mon Sep 17 00:00:00 2001 From: tb Date: Sun, 29 Jan 2023 07:41:20 +0000 Subject: [PATCH] borgbackup: USE_NOEXECONLY is needed due to static linking with OpenSSL. Move it to the top and annotate it. --- sysutils/borgbackup/2.0/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/sysutils/borgbackup/2.0/Makefile b/sysutils/borgbackup/2.0/Makefile index fe6d1a9e4ba..89b3f5e29dc 100644 --- a/sysutils/borgbackup/2.0/Makefile +++ b/sysutils/borgbackup/2.0/Makefile @@ -1,3 +1,8 @@ +# Static linking with OpenSSL 1.1 +.if ${MACHINE_ARCH} != aarch64 && ${MACHINE_ARCH} != amd64 && ${MACHINE_ARCH} != riscv64 +USE_NOEXECONLY= Yes +.endif + MODPY_EGG_VERSION = 2.0.0b4 COMPILER_LANGS = c @@ -11,8 +16,4 @@ RUN_DEPENDS = net/py-msgpack${MODPY_FLAVOR} \ security/py-argon2-cffi${MODPY_FLAVOR} TEST_DEPENDS = devel/py-dateutil${MODPY_FLAVOR} -.if ${MACHINE_ARCH} != aarch64 && ${MACHINE_ARCH} != amd64 && ${MACHINE_ARCH} != riscv64 -USE_NOEXECONLY= Yes -.endif - .include