Merge pull request #241683 from OPNA2608/fix/click_pkgconfig_requires

ubports-click: Propagate required pkg-config packages properly

authored by Sandro and committed by GitHub ff6e67d2 0e1fc501

+6
+6
pkgs/development/tools/click/default.nix
··· 28 sha256 = "sha256-pNu995/w3tbz15QQVdVYBnWnAoZmqWj1DN/5PZZ0iZw="; 29 }; 30 31 configureFlags = [ 32 "--with-systemdsystemunitdir=${placeholder "out"}/lib/systemd/system" 33 "--with-systemduserunitdir=${placeholder "out"}/lib/systemd/user"
··· 28 sha256 = "sha256-pNu995/w3tbz15QQVdVYBnWnAoZmqWj1DN/5PZZ0iZw="; 29 }; 30 31 + postPatch = '' 32 + # These should be proper Requires, using the header needs their headers 33 + substituteInPlace lib/click/click-*.pc.in \ 34 + --replace 'Requires.private' 'Requires' 35 + ''; 36 + 37 configureFlags = [ 38 "--with-systemdsystemunitdir=${placeholder "out"}/lib/systemd/system" 39 "--with-systemduserunitdir=${placeholder "out"}/lib/systemd/user"