void-packages/common
Érico Rolim 4a41da0426 hooks/{pre,post}-install: fix 98-fixup-gir-path.
The libdir changes to use /usr/lib{32,64} instead of /usr/lib broke
cross builds for some packages that use gir, due to issues with copying
over symlinks. Since we haven't managed to track down the root cause for
the installation path, a symlink is a clean enough temporary fix. This
follows the style of the 00-libdir hooks.

Since pre-install runs for the main package and then each subpackage, it
should use PKGDESTDIR (not DESTDIR), which also enables a subpackage
that installs files during pkg_install to work cleanly.

As far as I can see, the previous hook was quite flawed. Since it was a
pre-install hook, the check for a directory would happen *before*
package installation (so nothing would happen). The only reason it did
anything was because it also ran as a step before a subpackage's
pkg_install (most GIR packages have a -devel subpackage), but used
DESTDIR instead of PKGDESTDIR, so it checked and affected the contents
of the main package. Then when the subpackage's pkg_install ran, the
files would have already been copied to the correct folders.

Closes #27437
2021-01-24 18:08:27 -03:00
..
build-helper common: Add new cmake-wxWidgets-gtk3 build-helper 2020-12-30 17:58:36 +01:00
build-profiles xbps-src: make sure to apply FFLAGS properly like CFLAGS 2021-01-03 14:11:02 +01:00
build-style build-style/void-cross: add minor-versioned gcc sylinks 2021-01-20 15:25:27 +01:00
chroot-style xbps-src: remove proot chroot-style 2020-12-29 23:02:16 -08:00
cross-profiles xbps-src: make sure to apply FFLAGS properly like CFLAGS 2021-01-03 14:11:02 +01:00
environment build-style/void-cross: remove enable-obsolete-{rpc,nsl} from glibc 2021-01-20 15:24:58 +01:00
hooks hooks/{pre,post}-install: fix 98-fixup-gir-path. 2021-01-24 18:08:27 -03:00
repo-keys repo-keys: remove my testing repo key as it's unofficial 2020-04-01 20:55:45 +02:00
travis spdx-licenses-list: update to 3.11. 2020-12-29 22:31:01 -08:00
wrappers common/wrappers/cross-cc: catch -L/lib in args. 2020-12-20 19:43:35 -03:00
xbps-src shutils/chroot: add newline to warning about unset timezone. 2021-01-22 12:51:30 -03:00
options.description options.description: describe openblas option 2021-01-19 20:16:02 -03:00
shlibs surgescript: update to 0.5.5. 2021-01-24 13:32:59 -07:00