Move polkit-1 libexec files into libexec/polkit-1/

svn path=/nixpkgs/trunk/; revision=21842
This commit is contained in:
Yury G. Kudryashov 2010-05-18 16:40:17 +00:00
parent cfd6e0f21b
commit c270663fec

View File

@ -6,7 +6,7 @@ let
foolVars = { foolVars = {
LOCALSTATE = "/var"; LOCALSTATE = "/var";
SYSCONF = "/etc"; SYSCONF = "/etc";
LIBEXEC = "${system}/libexec"; LIBEXEC = "${system}/libexec/polkit-1";
LIB = "${system}/lib"; LIB = "${system}/lib";
DATA = "${system}/share"; DATA = "${system}/share";
}; };
@ -23,6 +23,10 @@ stdenv.mkDerivation rec {
buildInputs = [ pkgconfig glib eggdbus expat pam intltool gettext buildInputs = [ pkgconfig glib eggdbus expat pam intltool gettext
gobjectIntrospection ]; gobjectIntrospection ];
preConfigure=''
configureFlags="--libexecdir=$out/libexec/polkit-1"
'';
# Ugly hack to overwrite hardcoded directories # Ugly hack to overwrite hardcoded directories
# TODO: investigate a proper patch which will be accepted upstream # TODO: investigate a proper patch which will be accepted upstream
CFLAGS = stdenv.lib.concatStringsSep " " CFLAGS = stdenv.lib.concatStringsSep " "