1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

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:
Armijn Hemel 2005-10-25 17:57:05 +00:00
parent c82afd131d
commit 0fb522de95
2 changed files with 13 additions and 1 deletions

View file

@ -7,6 +7,6 @@ stdenv.mkDerivation {
url = http://www.nl.kernel.org/pub/linux/libs/pam/pre/library/Linux-PAM-0.80.tar.bz2;
md5 = "ccff87fe639efdfc22b1ba4a0f08ec57";
};
patches = [./pam-pwd.patch ./pam-cracklib.patch];
patches = [./pam-pwd.patch ./pam-cracklib.patch ./pam-modules.patch];
inherit cracklib;
}

View 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