mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-02 15:35:09 -04:00
The rc.d script and Apache config hard-coded the /usr/local paths the FreeBSD/OpenBSD distro target uses, so any build with other paths got files pointing at the wrong place. Make the rc.d script a template filled with CMAKE_INSTALL_FULL_BINDIR and PERL_EXECUTABLE, generated into misc/ when building on OpenBSD. Drop the OpenBSD Apache config: misc/apache.conf is already generated from the configured web, cgi and cache paths. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>