From owner-freebsd-ports Sun Mar 2 11: 4:16 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B22D37B401 for ; Sun, 2 Mar 2003 11:04:15 -0800 (PST) Received: from centaur.acm.jhu.edu (centaur.acm.jhu.edu [128.220.223.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7394643FE5 for ; Sun, 2 Mar 2003 11:04:14 -0800 (PST) (envelope-from jflemer@acm.jhu.edu) Received: by centaur.acm.jhu.edu (Postfix, from userid 556) id F064B13EB0; Sun, 2 Mar 2003 14:04:13 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by centaur.acm.jhu.edu (Postfix) with ESMTP id EFB2637E8E; Sun, 2 Mar 2003 14:04:13 -0500 (EST) Date: Sun, 2 Mar 2003 14:04:13 -0500 (EST) From: "James E. Flemer" Reply-To: "James E. Flemer" To: Alexander Leidinger Cc: Subject: Re: eclipse port (native) In-Reply-To: <20030205013553.56f0730c.Alexander@Leidinger.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 5 Feb 2003, Alexander Leidinger wrote: > I like to have libswt standalone, as it seems to be > useful to me to be able to use it in own programs without > the need to install eclipse too. I've just been working on updating my port of eclipse[1] to 2.1 RC1 (from 2.1 M5). I am trying to make libswt-gtk a slave port of the eclipse-gtk port, but am having some problems. Libswt consists of two libraries, libswt-gtk-2130.so and libswt-gtk-pi-2130.so. Now, the problem is that if I install these without renaming them, the LIB_DEPENDS for eclipse-gtk does not work, because libswt doesn't show up in 'ldconfig -r'. So how should I install libswt? My first intuition is to install: libswt-gtk-2130.so.0 libswt-gtk-2130.so -> libswt-gtk-2130.so.0 libswt-pi-gtk-2130.so.0 libswt-pi-gtk-2130.so -> libswt-pi-gtk-2130.so.0 and second is: libswt-gtk.so.2130 libswt-gtk-2130.so -> libswt-gtk.so.2130 libswt-pi-gtk.so.2130 libswt-pi-gtk-2130.so -> libswt-pi-gtk.so.2130 It would seem from the sources and the SWT FAQ[2] that all future versions of libswt will have version numbers of the format NNNN, without any dots. I am more inclined at the moment towards the second approach. Any comments or suggestions? [1] http://www.eclipse.org/ [2] http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-swt-home/faq.html#howbuilddll -James To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message