From owner-freebsd-ports Thu Jul 13 9:14:45 2000 Delivered-To: freebsd-ports@freebsd.org Received: from pawn.primelocation.net (pawn.primelocation.net [205.161.238.235]) by hub.freebsd.org (Postfix) with ESMTP id CFEA137BF21; Thu, 13 Jul 2000 09:14:41 -0700 (PDT) (envelope-from cdf.lists@fxp.org) Received: by pawn.primelocation.net (Postfix, from userid 1016) id 2F7F39B3E; Thu, 13 Jul 2000 12:14:37 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by pawn.primelocation.net (Postfix) with ESMTP id 23F9BBA11; Thu, 13 Jul 2000 12:14:37 -0400 (EDT) Date: Thu, 13 Jul 2000 12:14:37 -0400 (EDT) From: "Chris D. Faulhaber" X-Sender: cdf.lists@pawn.primelocation.net To: Ade Lovett Cc: ports@FreeBSD.org Subject: Re: palm/pilot-link and hier(7) In-Reply-To: <20000713105137.E2679@FreeBSD.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 13 Jul 2000, Ade Lovett wrote: > As some of you may be aware, palm/pilot-link is one of those > horrible little ports that doesn't respect hier(7), and installs > everything under ${LOCALBASE}/pilot/{bin,include,lib,...} > > Normally, I wouldn't mind so much, only I've come across a subtle > problem. > > 1. install pilot-link.. ldconfig gets carried out on > ${LOCALBASE}/pilot/lib so the shared libraries are available > > 2. build a port that depends on the shared library above. > It will work. > > 3. reboot the machine. re-perform step 2. It will try and > install pilot-link again, because it can't find the > shared library, because it's not in the standard pathname > list. > > Now, I can think of a few ways around this: > > (a) fix pilot-link to respect hier(7) and install in > bin, include/pilot-link, lib, share/pilot-link etc... > > This is my preferred solution, I'm prepared to do the > hackery, and at least get the gnomepilot ports hacked about > to work with the proper set up, though others will need to > work on the other ports. > > (b) have a post-install target on pilot-link install a bunch > of symlinks from /usr/local/pilot/lib/lib* to /usr/local/lib > > This is what lesstif does, and is horrible (IMO). > > (c) Do nothing. Ok, I lied, this won't fix things. :) > > (d) Do what mysql322-client does, install a script in ${LOCALBASE}/etc/rc.d like: #!/bin/sh # /sbin/ldconfig -m /usr/local/pilot/lib ----- Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org -------------------------------------------------------- FreeBSD: The Power To Serve - http://www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message