net/gnu-radius: Fix the build
The build was failing for two reasons:
- When devel/readline was installed (e.g. as a dependency of editors/emacs), its newer interface caused:
readline.c:147:51: error: expected expression 147 | rl_attempted_completion_function = (CPPFunction *) completion_fp; | ^ readline.c:147:38: error: use of undeclared identifier 'CPPFunction' 147 | rl_attempted_completion_function = (CPPFunction *) completion_fp; | ^
Patch radius's lib/readline.c to use the modern rl_completion_func_t type.
- The elisp files were not being installed, causing a staging error. Fix this by installing the elisp in a post-install-EMACS-on target.
Sponsored by: The FreeBSD Foundation