On Mon, 2008-05-26 at 13:35 +0200, Henning Rogge wrote:
> Am Sonntag 25 Mai 2008 13:13:54 schrieb Bernd Petrovitsch:
> > Hi all!
> >
> > The attached patch defines and uses the make-Variable PREFIX for all
> > OSes (and not only FreeBSD).
> > The default value is the one used by virtually everyone - including
> > auto-tools: "/usr/local".
> >
> > This implies that packagers (and others) must pass the parameter
> > PERFIX=/usr to "make" if they want to install under "/usr".
> >
> > * add PREFIX to the top-level Makefile.inc
> > * use it instead of /usr
> > * kill local PREFIX and LIBDIR instances
> >
> > I propose to add it right after the next - soon to be IIUC - release.
> 
> +PREFIX  ?= /usr/local
> -ETCDIR  ?= $(DESTDIR)/etc
> +ETCDIR  ?= $(DESTDIR)$(PREFIX)/etc
> 
> Hmm... so using the "/usr" PREFIX would put olsrd.conf into "/usr/etc" ?

Good point[0].
Next try against Hannes' dev repo (well, more or less). Apply it with
`patch -p1` or add it to your hg mq. It kills - at least for me - the
need for any special LD_LIBRARY_PATH or similar stuff so that olsrd can
find it's plugins.

	Bernd

[0]: That's the price for always installing under /opt/olsrd-current and
similar directories;-)
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services
