no longer installs when lua is not enabled: pkg-static: Unable to access file /construction/xports/mail/dovecot/work/stage/usr/local/%%LUA_LIBDIR%%exec/dovecot/health-check.sh:No such file or directory *** Error code 1
Created attachment 208191 [details] Fix packaging when Lua is not enabled.
Changed pkg-plist file fixed building when Lua is disabled. Thx @Ralf van der Enden
Committed, thanks.
pre-mature closing.... re-opening whilst I test.
(In reply to Larry Rosenman from comment #4) Patch work for me: dovecot without LUA.
A commit references this bug: Author: ler Date: Wed Oct 9 14:38:33 UTC 2019 New revision: 514164 URL: https://svnweb.freebsd.org/changeset/ports/514164 Log: mail/dovecot: fix breakage when LUA is NOT selected. PR: 241144 Submitted by: matthias.pfaller@familie-pfaller.de Reported by: many Pointy Hat To: ler Changes: head/mail/dovecot/Makefile head/mail/dovecot/pkg-plist
I fixed it a different way (so both lus and !lua work).
(In reply to Larry Rosenman from comment #7) Still problems here: [....] ===> Registering installation for dovecot-2.3.8_1 pkg-static: Unable to access file /usr/ports/mail/dovecot/work/stage/usr/local/%%LUA_LIBDIR%%/dovecot/%%LUA_LIBDIR%%01_mail_lua_plugin.a:No such file or directory pkg-static: Unable to access file /usr/ports/mail/dovecot/work/stage/usr/local/%%LUA_LIBDIR%%/dovecot/%%LUA_LIBDIR%%01_mail_lua_plugin.so:No such file or directory pkg-static: Unable to access file /usr/ports/mail/dovecot/work/stage/usr/local/%%LUA_LIBDIR%%/dovecot/%%LUA_LIBDIR%%22_push_notification_lua_plugin.a:No such file or directory pkg-static: Unable to access file /usr/ports/mail/dovecot/work/stage/usr/local/%%LUA_LIBDIR%%/dovecot/%%LUA_LIBDIR%%22_push_notification_lua_plugin.so:No such file or directory *** Error code 74 Stop. make: stopped in /usr/ports/mail/dovecot [....] @Ralf van der Enden fix, working fine
I just fixed my fix. see r514168.
(In reply to Larry Rosenman from comment #9) Perfect! Thanks a lot.