If --datadir is not given, it uses '${datarootdir}/cnijlgmon3', with the unsubstituted variable.
pkgconfig
autoreconfHook
buildInputs