Created attachment 229801 [details] port diff
Created attachment 230285 [details] 0001-Add-emulators-ripes-Graphical-RISC-V-simulator.patch
I've modified the patch a little bit, to make it built in a clean environment, i.e., poudriere. However, the whole package build still fails in the installing step, it should install files in STAGE directory but not directly in PREFIX: https://gist.github.com/lwhsu/ea52e6106ccac58ef599b293f5ecd8d4#file-13_0_amd64-default-log-L918-L921 I'm not familiar with cmake, do you think you can help fix this? Thanks!
Created attachment 230743 [details] Fixed Makefile fixed build issue with: CMAKE_INSTALL_PREFIX= ${STAGEDIR}${PREFIX}
Created attachment 230744 [details] poudriere log The latest patch should fix it. Attaching my poudriere log just in case.
(In reply to Mitchell Clay from comment #3) Thanks, the new patch looks and tests good. One final question, any reason that we need USE_QT=buildtools (remove _build suffix)? Is that also a run dependency?
Sorry, I forgot to put the suffix when I was re-testing with poudriere. It is not a run-time dependency.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=885796f15ae920cfa2a400e42fd1e2bdb209d7b2 commit 885796f15ae920cfa2a400e42fd1e2bdb209d7b2 Author: Mitchell Clay <mclay@astate.edu> AuthorDate: 2022-01-10 17:59:51 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2022-01-10 17:59:51 +0000 Add emulators/ripes: Graphical RISC-V simulator PR: 260124 emulators/Makefile | 1 + emulators/ripes/Makefile (new) | 26 ++++++++ emulators/ripes/distinfo (new) | 13 ++++ emulators/ripes/files/patch-CMakeLists.txt (new) | 83 ++++++++++++++++++++++++ emulators/ripes/pkg-descr (new) | 11 ++++ emulators/ripes/pkg-plist (new) | 11 ++++ 6 files changed, 145 insertions(+)
New port added. Please consider upstream the local patches if possible. Thanks!
Great, thanks for helping me with my first port!