In the build cache folder,
/var/tmp/..., I edited the two Makefiles as suggested in the github issue, and then tried to build with this command:
pamac build --no-clone vcvrack
But, the problem is, even after editing the Makefiles, it’s cloning and restoring the original Makefiles (in fact the whole source code, I don’t know from where) and then building it, then the same error.
What is the proper way to modify source code before building a package?