Created attachment 148320 [details]
Add a line to cmakefile to sed s/last-command-char/last-command-event/g
Latest EMACS removes last-command-char so need to patch the lua-mode.el to change this to last-command-event.
Attached is a patch for Makefile that does the patching in the staging directory directly in the do-install rule.
Not sure if this is the correct way, but the port does not build anything it simply populates the staging area; so could not add a standard patch file.
Only tested with: emacs24-24.3_7,3
This port is unmaintained, so I'll just promote the PR.
However, this change requires a PORTREVISION bump which the patch does not include.
A commit references this bug:
Date: Sun Nov 9 10:06:15 UTC 2014
New revision: 372350
lang/lua-mode.el: Remove reference to obsolete last-command-char
While here, clean up the port and remove @dirrm* lines
Submitted by: Christopher Hall