Subject: Re: pkg/35019 (${exec_prefix} not properly expanded in sysutils/dbus)
To: None <jmmv@NetBSD.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,>
From: Julio M. Merino Vidal <jmmv84@gmail.com>
List: pkgsrc-bugs
Date: 12/20/2006 14:40:05
The following reply was made to PR pkg/35019; it has been noted by GNATS.

From: "Julio M. Merino Vidal" <jmmv84@gmail.com>
To: "Hauke Fath" <hf@spg.tu-darmstadt.de>
Cc: gnats-bugs@netbsd.org
Subject: Re: pkg/35019 (${exec_prefix} not properly expanded in sysutils/dbus)
Date: Wed, 20 Dec 2006 15:36:10 +0100

 On 12/20/06, Hauke Fath <hf@spg.tu-darmstadt.de> wrote:
 > Am 17.12.2006 um 15:29 Uhr +0000 schrieb jmmv@NetBSD.org:
 > >This was supposedly fixed in a not-so-recent version of dbus.
 >
 > Not true, at least when I build the -current dbus 1.0.2 in context of
 > pkgsrc-2006Q3:
 >
 >                      D-Bus 1.0.2
 >                    ==============
 >
 >          prefix:                   /usr/pkg
 > >>>      exec_prefix:              ${prefix}           <<<
 >          libdir:                   /usr/pkg/lib
 >          bindir:                   /usr/pkg/bin
 >          sysconfdir:               /etc/pkg/dbus-1
 >          localstatedir:            /var
 >          datadir:                  /usr/pkg/share
 
 That is correct, even if it is not printed appropriately.  However,
 the code uses some form of EXPANDED_BINDIR and similar variables which
 supposedly workaround that.  (Not that this means they do it
 correctly... if only they read the autoconf/automake documentation...)
 
 > >   Could you
 > >please try this again with a pkgsrc-current tree?
 >
 > Not this year, since it means setting up a machine and building
 > everything needed for Evolution.
 
 Not necessarily.  Building dbus and later grepping for ${exec_prefix}
 in its installed files should be enough, I bet.  (With the help of
 strings(1).)
 
 -- 
 Julio M. Merino Vidal <jmmv84@gmail.com>
 The Julipedia - http://julipedia.blogspot.com/