add a patch that replaces /bin/pwd
with pwd
and rely on stdenv to supply pwd
svn path=/nixpkgs/trunk/; revision=4125
This commit is contained in:
parent
5c6e1efa41
commit
e4453149f9
|
@ -6,4 +6,5 @@ stdenv.mkDerivation {
|
||||||
url = http://www.nl.kernel.org/pub/linux/libs/pam/pre/library/Linux-PAM-0.80.tar.bz2;
|
url = http://www.nl.kernel.org/pub/linux/libs/pam/pre/library/Linux-PAM-0.80.tar.bz2;
|
||||||
md5 = "ccff87fe639efdfc22b1ba4a0f08ec57";
|
md5 = "ccff87fe639efdfc22b1ba4a0f08ec57";
|
||||||
};
|
};
|
||||||
|
patches = [./pam-pwd.patch];
|
||||||
}
|
}
|
||||||
|
|
14
pkgs/os-specific/linux/pam/pam-pwd.patch
Normal file
14
pkgs/os-specific/linux/pam/pam-pwd.patch
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
diff -ruN Linux-PAM-0.80/configure Linux-PAM-0.80.new/configure
|
||||||
|
--- Linux-PAM-0.80/configure 2005-07-04 14:09:55.000000000 +0200
|
||||||
|
+++ Linux-PAM-0.80.new/configure 2005-10-24 18:33:30.000000000 +0200
|
||||||
|
@@ -1336,8 +1336,8 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
-LOCALSRCDIR=`/bin/pwd` ;
|
||||||
|
-LOCALOBJDIR=`/bin/pwd` ;
|
||||||
|
+LOCALSRCDIR=`pwd` ;
|
||||||
|
+LOCALOBJDIR=`pwd` ;
|
||||||
|
OS=`uname|sed -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue