diff options
author | Stefan Schlosser <bsdcode@disroot.org> | 2024-08-24 14:59:24 +0000 |
---|---|---|
committer | Vladimir Druzenko <vvd@FreeBSD.org> | 2024-08-24 14:59:24 +0000 |
commit | a7274daa5fbba3baca1e58c9647b30c781e02e95 (patch) | |
tree | a609d77ee5d0214fb75150abbfe844044f7af144 | |
parent | 9e6023ac0e0df4813dabe10f49023cb6343f0289 (diff) | |
download | ports-a7274daa5fbba3baca1e58c9647b30c781e02e95.tar.gz ports-a7274daa5fbba3baca1e58c9647b30c781e02e95.zip |
emulators/ares: fix 'su' usage in pkg-message
PR: 281023
Fixes: 9e6023ac0e0d (update 139.20240809 → 139.20240823)
-rw-r--r-- | emulators/ares/files/pkg-message.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/emulators/ares/files/pkg-message.in b/emulators/ares/files/pkg-message.in index 5c53a71ed905..70eef70b8788 100644 --- a/emulators/ares/files/pkg-message.in +++ b/emulators/ares/files/pkg-message.in @@ -28,12 +28,12 @@ the FreeBSD ports tree yet, but it is being worked on, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280470. In the meantime users have to compile the library themselves if they want to actually use shaders: - $ su pkg install rust-nightly + $ su root -c 'pkg install rust-nightly' $ fetch https://github.com/SnowflakePowered/librashader/archive/refs/tags/librashader-v%%LIBRASHADER%%.tar.gz $ tar -xf librashader-v%%LIBRASHADER%%.tar.gz $ cd librashader-librashader-v%%LIBRASHADER%% $ cargo run -p librashader-build-script -- --profile release - $ su cp target/release/librashader.so %%LOCALBASE%%/lib + $ su root -c 'cp target/release/librashader.so %%LOCALBASE%%/lib' The port uses the shaders from games/libretro-shaders-slang by default. Users can curate and utilize their own provided collection of shaders by putting them |