ntrack: fix hardcoded /usr

svn path=/nixpkgs/trunk/; revision=27387
This commit is contained in:
Yury G. Kudryashov 2011-06-07 21:50:55 +00:00
parent 496ab8b948
commit 2fb2742370

View File

@ -19,4 +19,7 @@ stdenv.mkDerivation rec {
configureFlags = "--without-gobject CFLAGS=--std=gnu99";
patches = [ ./libnl2.patch ];
postPatch = ''
sed -e "s@/usr\(/lib/ntrack/modules/\)@$out&@" -i common/ntrack.c
'';
}