Skip to content

Commit

Permalink
emulators/rpcs3: unbreak on FreeBSD 12.2 after 49f593b
Browse files Browse the repository at this point in the history
elfctl -e +noaslr /wrkdirs/usr/ports/emulators/rpcs3/work/stage/usr/local/bin/rpcs3
elfctl: noaslr is not a valid feature
*** Error code 1
  • Loading branch information
jbeich committed Nov 30, 2021
1 parent 30ccf57 commit 8050337
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions emulators/rpcs3/Makefile
Expand Up @@ -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>
Expand Down

0 comments on commit 8050337

Please sign in to comment.