diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-08-27 18:39:59 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-08-27 18:39:59 -0500 |
commit | 26f976fbeaeb1db323e9d14ea401718c9e26acfd (patch) | |
tree | 7d9546fd776f4ea9044db5e0eae1bfb4a079dbec | |
parent | 9562f576c22b48f180d562437701f8e5b14f83ff (diff) | |
download | abuild-awilfox/yell-about-pkgconfig.tar.gz abuild-awilfox/yell-about-pkgconfig.tar.bz2 abuild-awilfox/yell-about-pkgconfig.tar.xz abuild-awilfox/yell-about-pkgconfig.zip |
abuild: Error out on /lib/pkgconfig existenceawilfox/yell-about-pkgconfig
That should be /usr/lib/pkgconfig. There are already some packages
being fixed in packages.git that suffer from this issue.
-rw-r--r-- | abuild.in | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -678,6 +678,12 @@ postcheck() { find "$dir" -name '*.la' -type f -delete fi + # ensure .pc files are in /usr/lib not /lib + if [ -e "$dir"/lib/pkgconfig ]; then + error "Found /lib/pkgconfig - needs to be moved to /usr/lib" + return 1 + fi + # look for /usr/lib/charset.alias if [ -e "$dir"/usr/lib/charset.alias ] \ && ! options_has "charset.alias"; then |