An alternative Eclipse 3 port

Panagiotis Astithas past at ebs.gr
Sun Jul 11 07:51:01 PDT 2004


Panagiotis Astithas wrote:
> Jeremy Faulkner wrote:
> 
>> LIB_DEPENDS -> GTK is not a run depend of the motif port.
> 
> 
> The Motif port does depend on GTK libraries, since it creates 
> swt-gtk.jar and libswt-gtk-motif-3062.so. But maybe LIB_DEPENDS is 
> superfluous, since we conditionally use USE_GNOME=gtk20 later on. I will 
> verify your patch.

I fixed that and made a few more cleanups.

>> BUILD_DEPENDS -> Mozilla is not a build depend of motif port.
> 
> 
> You may be right here, I will verify your diff when I get some time.

Eclipse now depends on Mozilla only in the GTK build (although there are 
some bogus harmless references to mozilla in platfrom-launcher that I 
found).

The diff against the previous port skeleton is here (watch out for 
whitespace mangling):

diff -ruN eclipse/Makefile eclipse-new/Makefile
--- eclipse/Makefile    Mon Jun 28 19:07:34 2004
+++ eclipse-new/Makefile        Thu Jul  8 20:19:57 2004
@@ -16,11 +16,8 @@
  DISTNAME=      ${PORTNAME}-sourceBuild-srcIncluded-${PORTVERSION}
  DIST_SUBDIR=   eclipse

-LIB_DEPENDS=   gtk-x11-2.0:${PORTSDIR}/x11-toolkits/gtk20
  BUILD_DEPENDS= ant:${PORTSDIR}/devel/apache-ant \
-               gmake:${PORTSDIR}/devel/gmake \
-               mozilla:${PORTSDIR}/www/mozilla \
-               pkg-config:${PORTSDIR}/devel/pkgconfig
+               gmake:${PORTSDIR}/devel/gmake

  ONLY_FOR_ARCHS=        i386
  USE_ZIP=       yes
@@ -44,17 +41,18 @@
  PLIST_SUB+=    MOTIF:=""
  .else
  ECLIPSE_WS=    gtk
+BUILD_DEPENDS+=        mozilla:${PORTSDIR}/www/mozilla
  PLIST_SUB+=    GTK:=""
  PLIST_SUB+=    MOTIF:="@comment "
  .endif

  .if defined(WITHOUT_GNOMEVFS)
  MAKE_GNOME=
-USE_GNOME=     gtk20
+USE_GNOME=     gtk20 pkgconfig
  PLIST_SUB+=    GNOME:="@comment "
  .else
  MAKE_GNOME=    make_gnome
-USE_GNOME=     gtk20 gnomevfs2 libgnome libgnomeui
+USE_GNOME=     gtk20 gnomevfs2 libgnome libgnomeui pkgconfig
  PLIST_SUB+=    GNOME:=""
  .endif



Due to me changing jobs, the updated port skeleton is in a new URL:
http://netmode.ntua.gr/~past/freebsd/eclipse3-port.tgz

Cheers,
-- 
Panagiotis Astithas, PhD
R&D Manager
EBS, Electronic Business Systems Ltd.
18 Evgenidou Street, 115 25, Athens GREECE
Phone: +30 210 674 7631
Fax: +30 210 674 7601
http://www.ebs.gr


More information about the freebsd-java mailing list