summaryrefslogtreecommitdiff
path: root/system/xrdp/patches/Makefile.PAM.diff
blob: adc25997390b8c21c5294402c8ef6ee5bb761087 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Patch generated 20071215 by Phillip Warner <pc_warner@yahoo.com>
Permission granted to use this patch as you see fit.

--- Makefile.orig	2007-12-15 00:22:34.000000000 -0600
+++ Makefile		2007-12-15 00:15:13.000000000 -0600
@@ -39,6 +39,7 @@
 	mkdir -p $(PIDDIR)
 	mkdir -p $(MANDIR)
 	mkdir -p $(DOCDIR)
+	mkdir -p $(PKGDIR)/etc/pam.d
 	make -C vnc install
 	make -C libxrdp install
 	make -C xrdp install
@@ -46,7 +47,7 @@
 	make -C sesman install
 	make -C xup install
 	make -C docs install
-	if [ -d /etc/pam.d ]; then install instfiles/pam.d/sesman /etc/pam.d/sesman; fi
+	install instfiles/pam.d/sesman $(PKGDIR)/etc/pam.d/sesman
 	install instfiles/xrdp_control.sh $(DESTDIR)/xrdp_control.sh
 
 installdeb: