Bug 215482 - java/eclipse: enable build on powerpc64
Summary: java/eclipse: enable build on powerpc64
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: powerpc Any
: --- Affects Some People
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-22 01:00 UTC by Curtis Hamilton
Modified: 2019-05-10 18:37 UTC (History)
5 users (show)

See Also:
bugzilla: maintainer-feedback? (ljboiler)


Attachments
Patches to java/eclipse to provide powerpc64 support. (137.98 KB, patch)
2016-12-22 01:00 UTC, Curtis Hamilton
no flags Details | Diff
Revised patch to remove dependency on another patch (137.81 KB, patch)
2016-12-22 19:21 UTC, Curtis Hamilton
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Curtis Hamilton 2016-12-22 01:00:17 UTC
Created attachment 178190 [details]
Patches to java/eclipse to provide powerpc64 support.

Eclipse does not currently support FreeBSD on PowerPC64, although it has support for Linux on PowerPC (32-bit and 64-bit).

The included patches adds support for building on eclipse on PPC64. Patches are against eclipse 4.6 (neon) in ports tree r424411 (2016-10-21).

Patching Instructions:  

     -  Download and copy patch file to /usr/ports/editors/eclipse

     -  Execute: patch -i patch-eclipse_powerpc64

     -  Execute: patch -i patch-Makefile

     -  Run make

The patch forces the use of powerpc64 vice ppc64 to avoid issues and conflicts with using Linux PPC64 files provided as part of the port distfile.

Recommend upgrading to the most recent versions of webkit-gtk2 or webkitgtk3, if building the GTK3 option.


Build environment:

FreeBSD 10.2 Stable PowerPC64
GCC Versio 5.4.0
OpenJDK8 1.8.0_102-b14, 64-bit Server VM

The resulting builds (Platform or SDK) runs with full functionality. (Tested on a PowerMac G5 Quad "Late 2005" and PowerMac G5 Dual 2.7GHz)
Comment 1 Curtis Hamilton 2016-12-22 19:21:29 UTC
Created attachment 178208 [details]
Revised patch to remove dependency on another patch

Revised the original patch to remove a dependency on the file "patch-submodules".
Comment 2 Justin Hibbits freebsd_committer freebsd_triage 2017-12-03 01:40:09 UTC
I can confirm that eclipse builds with this patch.
Comment 3 Curtis Hamilton 2019-05-10 18:37:03 UTC
OBE!