1
0
forked from ports/opt

libsdl2: fix build if distcc and ccache are installed

This commit is contained in:
Juergen Daubert 2022-12-03 15:30:45 +01:00
parent ffa224b93b
commit d96209fae9
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/WgWC7weXIhqPsHFs8t1V1FbemEY4pc/vIsbXED3ypyrvMh40Ni/tOWn4QwWuzvCyKlJHO/RWDZ3UnfbjGkhNQw=
SHA256 (Pkgfile) = b5c5ecd744d8577ef2ce85f87d57b62847e5cdd896134de57e8106ee46973eec
RWSE3ohX2g5d/a+e5UCzgwAAPbaH+2nd7gBg9ngCafsL28oJOu7XQHv4CbH29ibZa89C3jz2C4FPSR6oC+AuZc+VqU2nnhSb7wI=
SHA256 (Pkgfile) = b51df109f8825b8236ef0b347ff7e1c46b76a0868e7664013987027bbe65c29b
SHA256 (.footprint) = 37f2a2d581ab1eab73994891b09b3e1493b414e040b3279014705d4c38df08f6
SHA256 (SDL2-2.26.1.tar.gz) = 02537cc7ebd74071631038b237ec4bfbb3f4830ba019e569434da33f42373e04

View File

@ -17,6 +17,8 @@ build() {
prt-get isinst pulseaudio && PKGMK_SDL2+=' -D SDL_PULSEAUDIO_SHARED=ON'
prt-get isinst wayland-protocols && PKGMK_SDL2+=' -D SDL_WAYLAND_SHARED=ON'
[[ -z $CCACHE_PREFIX ]] || unset CCACHE_PREFIX
cmake -S SDL2-$version -B build -G Ninja $PKGMK_SDL2 \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \