wok-current rev 25587
Fix race condition for ncursesw-dev cook
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon May 29 13:10:32 2023 +0000 (19 months ago) |
parents | d93a872413c7 |
children | 22166ae1fc15 |
files | ncursesw-dev/receipt |
line diff
1.1 --- a/ncursesw-dev/receipt Mon May 29 12:23:26 2023 +0000 1.2 +++ b/ncursesw-dev/receipt Mon May 29 13:10:32 2023 +0000 1.3 @@ -25,5 +25,10 @@ 1.4 # nicely for both. 1.5 cp -a $install/usr/include $fs/usr 1.6 cp $install/usr/bin/ncursesw6-config $fs/usr/bin 1.7 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.8 + # seem race condition, cook put pkgconfig in /usr/share or /usr/lib 1.9 + if [ -d $install/usr/lib/pkgconfig ]; then 1.10 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.11 + else 1.12 + cp -a $install/usr/share/pkgconfig $fs/usr/lib 1.13 + fi 1.14 }