Advice for handling of SWT dependency

Gavin Mu at
Wed Sep 29 19:42:16 PDT 2004

I think making a separate port of SWT is a good idea, because a lot of
applications need it. I have the same trouble with you, I want to make
a port for lumaQQ, this is a QQ client in Java and use SWT in it.

On Sat, 18 Sep 2004 16:25:11 -0400, Josh Elsasser <josh at> wrote:
> I have made a port ( which
> needs needs some .jar and .so files (the GTK version of SWT) installed
> by the java/eclipse port.
> I don't like this because it means I have to mark my port
> ONLY_FOR_ARCHES=i386, I have to hard-code a version number in a
> directory path into my port, and it forces the user to install a whole
> IDE just to get a library that happens to be bundled with it.  The way
> I have the port set up now will break if the version of eclipse is too
> old or too new, or if the user chose to build it with motif instead of
> gtk.
> What I want to know is if there's a better way than what I've done.
> Should I just forget eclipse and make a separate port of SWT?  There
> are probably other programs that could use this too.
> -jre

More information about the freebsd-ports mailing list