Date: Tue, 30 Nov 2021 00:57:21 GMT From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 8050337467a5 - main - emulators/rpcs3: unbreak on FreeBSD 12.2 after 49f593b2f77f Message-ID: <202111300057.1AU0vLNo001266@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=8050337467a5a8b817b917fb83f492fdc3924d8a commit 8050337467a5a8b817b917fb83f492fdc3924d8a Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2021-11-30 00:53:39 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2021-11-30 00:57:08 +0000 emulators/rpcs3: unbreak on FreeBSD 12.2 after 49f593b2f77f elfctl -e +noaslr /wrkdirs/usr/ports/emulators/rpcs3/work/stage/usr/local/bin/rpcs3 elfctl: noaslr is not a valid feature *** Error code 1 --- emulators/rpcs3/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/emulators/rpcs3/Makefile b/emulators/rpcs3/Makefile index 0f36939fa0f0..6761d27c7c7f 100644 --- a/emulators/rpcs3/Makefile +++ b/emulators/rpcs3/Makefile @@ -82,7 +82,12 @@ post-patch: post-install: .if exists(/usr/bin/elfctl) +. if 0 elfctl -e +noaslr ${STAGEDIR}${PREFIX}/bin/${PORTNAME} +. else +# FreeBSD 12.2 lacks https://cgit.freebsd.org/src/commit/?id=f56d7f838f5b + elfctl -e +aslr ${STAGEDIR}${PREFIX}/bin/${PORTNAME} +. endif .endif .include <bsd.port.pre.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111300057.1AU0vLNo001266>