summaryrefslogtreecommitdiff
path: root/sys-auth/pam_u2f/files/pam_u2f-1.0.2-fix-Makefile.patch
blob: a83597602d45ae9ea98189b713449a87e77576f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/Makefile.am
+++ b/Makefile.am
@@ -34,8 +34,8 @@
 # Release
 
 install-exec-hook:
-	rm -f $(PAMDIR)/pam_u2f.la
-	chmod -f 644 $(PAMDIR)/pam_u2f.so || true
+	rm -f $(DESTDIR)/$(PAMDIR)/pam_u2f.la
+	chmod -f 644 $(DESTDIR)/$(PAMDIR)/pam_u2f.so || true
 
 indent:
 	indent -kr -nut -i2 *.c *.h pamu2fcfg/*.c pamu2fcfg/*.h