diff options
author | Juergen Daubert <jue@jue.li> | 2022-12-03 15:30:45 +0100 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2022-12-03 15:30:45 +0100 |
commit | d96209fae93ea359e5843165badac67f3255f65f (patch) | |
tree | 487da4628e83c6c65a4b9cd8528d2a62dcdfb019 /libsdl2 | |
parent | ffa224b93b2018ac810204da420c7a790edffe14 (diff) | |
download | opt-d96209fae93ea359e5843165badac67f3255f65f.tar.gz opt-d96209fae93ea359e5843165badac67f3255f65f.tar.xz |
libsdl2: fix build if distcc and ccache are installed
Diffstat (limited to 'libsdl2')
-rw-r--r-- | libsdl2/.signature | 4 | ||||
-rw-r--r-- | libsdl2/Pkgfile | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/libsdl2/.signature b/libsdl2/.signature index c424dfcf9..2cffaf386 100644 --- a/libsdl2/.signature +++ b/libsdl2/.signature @@ -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 diff --git a/libsdl2/Pkgfile b/libsdl2/Pkgfile index a8452c01e..337fc0dc9 100644 --- a/libsdl2/Pkgfile +++ b/libsdl2/Pkgfile @@ -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 \ |