Created attachment 251532 [details] patch to fix version check in Makefile Add RUN_DEPENDS flavor to version check.
Created attachment 251926 [details] patch that takes different Linux versions into account Thanks for the patch. However, I think the port should pay attention to which Linux version is installed and look for the corresponding linux_libusb variant (currently c7 or rl9). What do you think? Can you please test again if this is ok? Thank you.
Comment on attachment 251926 [details] patch that takes different Linux versions into account That change works for me too. Thanks Rainer.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=a2ba2e8a3ba655ffac931d7789a2037e53c7c5d8 commit a2ba2e8a3ba655ffac931d7789a2037e53c7c5d8 Author: J.R. Oldroyd <fbsd@opal.com> AuthorDate: 2024-07-07 19:33:33 +0000 Commit: Rainer Hurling <rhurlin@FreeBSD.org> CommitDate: 2024-07-07 19:40:29 +0000 graphics/epsonscan2-non-free-plugin: Unbreak build Fixes build taking into account the Linux version Co-authored-by: rhurlin@FreeBSD.org PR: 279825 Approved by: J.R. Oldroyd <fbsd@opal.com> (maintainer) MFH: 2024Q3 graphics/epsonscan2-non-free-plugin/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
A commit in branch 2024Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c2221f5f5a11c2744557eaaddec9b8a7f03dcf1e commit c2221f5f5a11c2744557eaaddec9b8a7f03dcf1e Author: J.R. Oldroyd <fbsd@opal.com> AuthorDate: 2024-07-07 19:33:33 +0000 Commit: Rainer Hurling <rhurlin@FreeBSD.org> CommitDate: 2024-07-07 19:45:18 +0000 graphics/epsonscan2-non-free-plugin: Unbreak build Fixes build taking into account the Linux version Co-authored-by: rhurlin@FreeBSD.org PR: 279825 Approved by: J.R. Oldroyd <fbsd@opal.com> (maintainer) MFH: 2024Q3 (cherry picked from commit a2ba2e8a3ba655ffac931d7789a2037e53c7c5d8) graphics/epsonscan2-non-free-plugin/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Hi J.R., Thanks for the fast approval. I committed on main and on quarterly (2024Q3).