When the option SMB is ON, the port fails to package.
While here:
* Reorder Makefile variables
* Change obsolete @unexec to @postexec
* Rework patches to comply with makepatch format
PR: 244778
Submitted by: tommyhp2@gmail.com
Approved by: lukas.slebodnik@intrak.sk (maintainer, timeout)