freebsd-ports/java/eclipse/files/patch-plugins-org.eclipse.equinox.launcher-src-org-eclipse-equinox-launcher-Main.java
Greg Lewis 34968d4761 . Update to 3.4.2, including:
. We are now installing a real eclipse product.
  . Only the jar files for the platform are built, dramatically reducing
    the time necessary to build (thanks to the Fedora devs for the idea
    and the basic procedure).
  . Lot of small fixes to the build procedure to make future imports easier
  . Some of the bundles are pre-extracted during install to improve
    launching time.
  . JDK 1.6 is required to build but any jre (1.5 or 1.6) can be used in
    Preferences->Java->Installed JREs. JDK 1.4 is unfortunately not
    supported at this time.
  . Switch to x86_64 architecture name instead of amd64 to be more in-line
    with mainline eclipse.

Note that after this update you will need to reinstall any plugins you've
installed with the built in Update Manager.  This is a one time thing.

Submitted by:	sepotvin@ (maintainer)
2009-06-06 20:58:22 +00:00

20 lines
944 B
Java

--- plugins/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java.orig 2008-08-09 01:52:52.897300867 -0400
+++ plugins/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java 2008-08-09 01:53:31.527460286 -0400
@@ -291,6 +291,8 @@
return Constants.WS_WIN32;
if (osName.equals(Constants.OS_LINUX))
return Constants.WS_GTK;
+ if (osName.equals(Constants.OS_FREEBSD))
+ return Constants.WS_GTK;
if (osName.equals(Constants.OS_MACOSX))
return Constants.WS_CARBON;
if (osName.equals(Constants.OS_HPUX))
@@ -315,6 +317,8 @@
return Constants.OS_SOLARIS;
if (osName.equalsIgnoreCase(Constants.INTERNAL_OS_LINUX))
return Constants.OS_LINUX;
+ if (osName.equalsIgnoreCase(Constants.INTERNAL_OS_FREEBSD))
+ return Constants.OS_FREEBSD;
if (osName.equalsIgnoreCase(Constants.INTERNAL_OS_QNX))
return Constants.OS_QNX;
if (osName.equalsIgnoreCase(Constants.INTERNAL_OS_AIX))