Created attachment 220625 [details] patch This software builds just fine on powerpc64 if you simply copy the amd64 makefile.
Will have a look.
Out of curiousity, is that port-dependent or your software?
(In reply to Michael Osipov from comment #2) The Makefile copy is performed in the port's Makefile. Since all the Makefiles for FreeBSD actually look the same, copying one from other architecture works.
(In reply to Piotr Kubaj from comment #3) So everything works for you? The tests from the Ant build file pass for you?
Created attachment 220629 [details] log Yes, the port seems to build fine, I attached a Poudriere log.
A commit references this bug: Author: pkubaj Date: Wed Dec 16 17:09:26 UTC 2020 New revision: 558229 URL: https://svnweb.freebsd.org/changeset/ports/558229 Log: sysutils/javaservicewrapper: fix build on powerpc64 PR: 251892 Approved by: michael.osipov@siemens.com (maintainer) MFH: 2020Q4 Changes: head/sysutils/javaservicewrapper/Makefile
A commit references this bug: Author: pkubaj Date: Wed Dec 16 17:10:09 UTC 2020 New revision: 558230 URL: https://svnweb.freebsd.org/changeset/ports/558230 Log: MFH: r558229 sysutils/javaservicewrapper: fix build on powerpc64 PR: 251892 Approved by: michael.osipov@siemens.com (maintainer) Changes: _U branches/2020Q4/ branches/2020Q4/sysutils/javaservicewrapper/Makefile
Looks good to me. Have you consider reporting it here: https://sourceforge.net/p/wrapper/feature-requests/? I have already created several tickets and all were handled in time.
Sorry, looks like I committed this fix prior to your approval. A maintainer feedback from another PR came in (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251891) and I got them mixed. Nevertheless, thanks, I will report this to upstream.