The ZIC (bin/zic) is not recognized in the package() function. To fix that, let it compile and fail and modify config.status files with the ZIC variable (for each architecture) as "bin/zic" and do a makepkg -R and install with pacman -U. For example, you must modify 2 config files, one in ../build-i686-w64-mingw32/config.status ../build-x86_64-w64-mingw32/config.status with the ZIC variable with:
ZIC="/bin/zic"
Pinned Comments
Martchus commented on 2017-06-03 13:19 (UTC) (edited on 2019-01-28 13:06 (UTC) by Martchus)
Important note
This package must be built in a clean chroot or at least without the previous version being installed. Otherwise PostgeSQL's build system seems to pick up the installed version of certain libraries rather than the version produced by the current build. (You would get a linker error like
undefined reference to 'AllocSetContextCreateExtended'
.)All my packages are managed at GitHub where you can also contribute directly: https://github.com/Martchus/PKGBUILDs There also exist a binary repository: https://martchus.no-ip.biz/repo/arch/ownstuff