aboutsummaryrefslogtreecommitdiff
path: root/emulators/qemu-user-static
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2023-09-11 20:26:38 +0000
committerJan Beich <jbeich@FreeBSD.org>2023-09-11 21:15:38 +0000
commit8bd17eb4fc9ff06ef48956ddd6299b5d4871b713 (patch)
treed6a6aa6ebb18ceaa716d615736c0efb477e36baa /emulators/qemu-user-static
parent0fb06b2143eb62d53698c50ae3016ebfad3f85e1 (diff)
downloadports-8bd17eb4fc9ff06ef48956ddd6299b5d4871b713.tar.gz
ports-8bd17eb4fc9ff06ef48956ddd6299b5d4871b713.zip
emulators/qemu-user-static: unbreak with kern.elf64.allow_wx=0
$ qemu-aarch64-static /dev/null qemu_mprotect__osdep: mprotect failed: Permission denied mprotect of jit buffer: Permission denied
Diffstat (limited to 'emulators/qemu-user-static')
-rw-r--r--emulators/qemu-user-static/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/emulators/qemu-user-static/Makefile b/emulators/qemu-user-static/Makefile
index e070be60d3bf..ddb9ebef1478 100644
--- a/emulators/qemu-user-static/Makefile
+++ b/emulators/qemu-user-static/Makefile
@@ -1,6 +1,6 @@
PORTNAME= qemu
PORTVERSION= 3.1.0
-PORTREVISION= 13
+PORTREVISION= 14
CATEGORIES= emulators
PKGNAMESUFFIX= -user-static
DIST_SUBDIR= qemu/${PORTVERSION}
@@ -15,13 +15,14 @@ LICENSE_FILE= ${WRKSRC}/COPYING
ONLY_FOR_ARCHS= amd64 powerpc powerpc64
CONFLICTS_INSTALL= qemu-user-static-devel
-USES= bison compiler:c11 cpe gmake perl5 pkgconfig python:build
+USES= bison compiler:c11 cpe elfctl gmake perl5 pkgconfig python:build
USE_GITHUB= yes
GH_TUPLE= qemu-bsd-user:qemu-bsd-user:527096e0c8 \
qemu:keycodemapdb:10739aa:keycodemapdb/ui/keycodemapdb
HAS_CONFIGURE= yes
USE_PERL5= build
MAKE_ENV+= BSD_MAKE="${MAKE}" V=1
+ELF_FEATURES= +wxneeded:*-bsd-user/qemu-*
USE_RC_SUBR= qemu_user_static
SUB_LIST= NAME=qemu_user_static