# HG changeset patch # User Stanislas Leduc # Date 1685365832 0 # Node ID 9a8523e9619ee20b9986653acf8ecccb6c913ceb # Parent d93a872413c7fffb6b66e28d95a1344e61bb11f7 Fix race condition for ncursesw-dev cook diff -r d93a872413c7 -r 9a8523e9619e ncursesw-dev/receipt --- a/ncursesw-dev/receipt Mon May 29 12:23:26 2023 +0000 +++ b/ncursesw-dev/receipt Mon May 29 13:10:32 2023 +0000 @@ -25,5 +25,10 @@ # nicely for both. cp -a $install/usr/include $fs/usr cp $install/usr/bin/ncursesw6-config $fs/usr/bin - cp -a $install/usr/lib/pkgconfig $fs/usr/lib + # seem race condition, cook put pkgconfig in /usr/share or /usr/lib + if [ -d $install/usr/lib/pkgconfig ]; then + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + else + cp -a $install/usr/share/pkgconfig $fs/usr/lib + fi }