File: fix_pkgconfig_mode.patch

package info (click to toggle)
ploop 1.15-12
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,372 kB
  • sloc: ansic: 16,133; sh: 413; makefile: 222; python: 144
file content (18 lines) | stat: -rw-r--r-- 488 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Fix pkgconfig mode
 install was marking ploop.pc as executable, fix it by mentioning the
 mode with install command.

Forwarded: no
---

--- ploop-1.15.orig/lib/Makefile
+++ ploop-1.15/lib/Makefile
@@ -83,7 +83,7 @@ install-lockdir:
 install-pc: $(PC)
 	$(E) "  INSTALL " $(PC)
 	$(Q) $(INSTALL) -d $(DESTDIR)$(PCDIR)
-	$(Q) $(INSTALL) $(PC) $(DESTDIR)$(PCDIR)
+	$(Q) $(INSTALL) -m 0644 $(PC) $(DESTDIR)$(PCDIR)
 .PHONY: install-pc
 
 install: all install-lockdir install-pc