summaryrefslogtreecommitdiff
path: root/recipes/pam/files/libpam-make.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/pam/files/libpam-make.patch')
-rw-r--r--recipes/pam/files/libpam-make.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes/pam/files/libpam-make.patch b/recipes/pam/files/libpam-make.patch
new file mode 100644
index 0000000000..4991231aa5
--- /dev/null
+++ b/recipes/pam/files/libpam-make.patch
@@ -0,0 +1,10 @@
+--- Linux-PAM-0.79/Make.Rules.in.orig 2005-04-15 01:28:45.695508120 -0700
++++ Linux-PAM-0.79/Make.Rules.in 2005-04-15 01:28:10.274892872 -0700
+@@ -122,3 +122,7 @@
+ ifdef DYNAMIC
+ CFLAGS += $(PIC)
+ endif
++
++ifdef DESTDIR
++FAKEROOT = $(DESTDIR)
++endif