Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jul 2000 12:14:37 -0400 (EDT)
From:      "Chris D. Faulhaber" <jedgar@fxp.org>
To:        Ade Lovett <ade@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   Re: palm/pilot-link and hier(7)
Message-ID:  <Pine.BSF.4.21.0007131212380.83128-100000@pawn.primelocation.net>
In-Reply-To: <20000713105137.E2679@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007131212380.83128-100000>