On 2013/01/02 19:37, James Turner wrote: > Joshua (and ports@), > > With the attached diff I am able to build and use clisp on mips64el > (loongson). However, I had to disable ffi support in order to achieve > this. > > I have ran into one problem where I could use some guidance on how best > to move forward. Because ffi support has to be disabled, readline support > is also disabled. Due to this, 2 files have to be removed from > pkg/PLIST: lib/clisp/base/readline.o and lib/clisp/full/readline.o in > order for clisp to package correctly. > > What is the best way to handle this on mips64el since these files should > be there for the other supported platforms? Should I create a no_ffi > flavor and make mips64el use that by default? Suggestions welcome. > Thanks.
See how x11/vlc sets PKG_ARGS towards the bottom of the Makefile, which works in conjunction with %%i386%% in PLIST-main and PFRAG.i386-main.