summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2017-09-15 14:44:12 +0900
committerBenda Xu <heroxbd@gentoo.org>2017-09-15 14:45:07 +0900
commit87a9ea0654a3c293631ac8eca64611fd942067c6 (patch)
tree93dbbddcd1c14451106c2ae0e53d4e79720875d5 /net-libs
parentdev-db/rqlite: remove old version 4.0.0 (diff)
downloadgentoo-87a9ea0654a3c293631ac8eca64611fd942067c6.tar.gz
gentoo-87a9ea0654a3c293631ac8eca64611fd942067c6.tar.bz2
gentoo-87a9ea0654a3c293631ac8eca64611fd942067c6.zip
net-libs/liblockfile: remove hardcoded group root
In vanilla gentoo, the installed files has group root by default. In Prefix, the hardcoded group usually results in "Permission Denied" error. Credit: William Throwe, Didier Colle Closes: https://bugs.gentoo.org/605298 Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/liblockfile/files/liblockfile-1.13-makefile.patch16
1 files changed, 8 insertions, 8 deletions
diff --git a/net-libs/liblockfile/files/liblockfile-1.13-makefile.patch b/net-libs/liblockfile/files/liblockfile-1.13-makefile.patch
index f325b5e7dff7..e14bf12ad313 100644
--- a/net-libs/liblockfile/files/liblockfile-1.13-makefile.patch
+++ b/net-libs/liblockfile/files/liblockfile-1.13-makefile.patch
@@ -15,12 +15,12 @@
install_static: static install_common
- install -d -m 755 -g root -p $(libdir)
- install -m 644 liblockfile.a $(libdir)
-+ install -d -m 755 -g root -p $(DESTDIR)$(libdir)
++ install -d -m 755 -p $(DESTDIR)$(libdir)
+ install -m 644 liblockfile.a $(DESTDIR)$(libdir)
install_shared: shared install_static install_common
- install -d -m 755 -g root -p $(libdir)
-+ install -d -m 755 -g root -p $(DESTDIR)$(libdir)
++ install -d -m 755 -p $(DESTDIR)$(libdir)
install -m 755 liblockfile.so \
- $(libdir)/liblockfile.so.$(SOVER)
- ln -s liblockfile.so.$(SOVER) $(libdir)/liblockfile.so.$(MAJOR)
@@ -36,17 +36,17 @@
- install -d -m 755 -g root -p $(mandir)/man1
- install -d -m 755 -g root -p $(mandir)/man3
- install -m 644 lockfile.h maillock.h $(includedir)
-+ install -d -m 755 -g root -p $(DESTDIR)$(includedir)
-+ install -d -m 755 -g root -p $(DESTDIR)$(bindir)
-+ install -d -m 755 -g root -p $(DESTDIR)$(mandir)/man1
-+ install -d -m 755 -g root -p $(DESTDIR)$(mandir)/man3
++ install -d -m 755 -p $(DESTDIR)$(includedir)
++ install -d -m 755 -p $(DESTDIR)$(bindir)
++ install -d -m 755 -p $(DESTDIR)$(mandir)/man1
++ install -d -m 755 -p $(DESTDIR)$(mandir)/man3
+ install -m 644 lockfile.h maillock.h $(DESTDIR)$(includedir)
if [ "$(MAILGROUP)" != "" ]; then\
- install -g $(MAILGROUP) -m 2755 dotlockfile $(bindir);\
+ install -g $(MAILGROUP) -m 2755 dotlockfile $(DESTDIR)$(bindir);\
else \
- install -g root -m 755 dotlockfile $(bindir); \
-+ install -g root -m 755 dotlockfile $(DESTDIR)$(bindir); \
++ install -m 755 dotlockfile $(DESTDIR)$(bindir); \
fi
- install -m 644 *.1 $(mandir)/man1
- install -m 644 *.3 $(mandir)/man3
@@ -56,7 +56,7 @@
install_nfslib: nfslib
- install -d -m 755 -g root -p $(nfslockdir)
- install -m 755 nfslock.so.$(NFSVER) $(nfslockdir)
-+ install -d -m 755 -g root -p $(DESTDIR)$(nfslockdir)
++ install -d -m 755 -p $(DESTDIR)$(nfslockdir)
+ install -m 755 nfslock.so.$(NFSVER) $(DESTDIR)$(nfslockdir)
if test "$(DESTDIR)" = ""; then @LDCONFIG@; fi