ntrack: fix hardcoded /usr
svn path=/nixpkgs/trunk/; revision=27387
This commit is contained in:
parent
496ab8b948
commit
2fb2742370
@ -19,4 +19,7 @@ stdenv.mkDerivation rec {
|
|||||||
configureFlags = "--without-gobject CFLAGS=--std=gnu99";
|
configureFlags = "--without-gobject CFLAGS=--std=gnu99";
|
||||||
|
|
||||||
patches = [ ./libnl2.patch ];
|
patches = [ ./libnl2.patch ];
|
||||||
|
postPatch = ''
|
||||||
|
sed -e "s@/usr\(/lib/ntrack/modules/\)@$out&@" -i common/ntrack.c
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user