don't use /bin/ls, but rely on the build environment to supply ls
svn path=/nixpkgs/trunk/; revision=4131
This commit is contained in:
parent
c82afd131d
commit
0fb522de95
@ -7,6 +7,6 @@ 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 ./pam-cracklib.patch];
|
patches = [./pam-pwd.patch ./pam-cracklib.patch ./pam-modules.patch];
|
||||||
inherit cracklib;
|
inherit cracklib;
|
||||||
}
|
}
|
||||||
|
12
pkgs/os-specific/linux/pam/pam-modules.patch
Normal file
12
pkgs/os-specific/linux/pam/pam-modules.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -ruN Linux-PAM-0.80/modules/Makefile Linux-PAM-0.80.new/modules/Makefile
|
||||||
|
--- Linux-PAM-0.80/modules/Makefile 2004-09-28 15:49:21.000000000 +0200
|
||||||
|
+++ Linux-PAM-0.80.new/modules/Makefile 2005-10-25 19:54:12.000000000 +0200
|
||||||
|
@@ -8,7 +8,7 @@
|
||||||
|
|
||||||
|
include ../Make.Rules
|
||||||
|
|
||||||
|
-MODDIRS=$(shell /bin/ls -d pam_*/Makefile | cut -f1 -d/)
|
||||||
|
+MODDIRS=$(shell ls -d pam_*/Makefile | cut -f1 -d/)
|
||||||
|
|
||||||
|
all:
|
||||||
|
@echo building the static modutil library
|
Loading…
x
Reference in New Issue
Block a user