Please add the following to the config_site.h
file as described in the Build Preparation documentation:
#define PJ_CONFIG_MAXIMUM_SPEED
#include <pj/config_site_sample.h>
#define PJ_IOQUEUE_MAX_HANDLES 1024
The last line refers to the value of FD_SETSIZE
. It may be better to set it conditionally according to this posting on the mailing list.
Also, please remove the pjproject.install
file and instead use the optdepends
array inside the PKGBUILD.
Pinned Comments
alerque commented on 2020-02-22 05:37 (UTC)
PSA: I've started hosting this and also many other packages I maintain in the AUR as prebuilt packages in my repository for those that want to install them using
pacman
without messing around with building from the AUR.