biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / servers / mail / opensmtpd / libopensmtpd / no-chown-while-installing.patch
blob52d8b3e2d01ff2c0a38bd6de144ebe3befda390a
1 diff --git a/Makefile.gnu b/Makefile.gnu
2 index b4bcaef..981721c 100644
3 --- a/Makefile.gnu
4 +++ b/Makefile.gnu
5 @@ -27,7 +27,7 @@ SYMBOL_LIST= ${CURDIR}/Symbols.list
6 includes:
7 @cd ${CURDIR}; for i in ${HDRS}; do \
8 j="cmp -s $$i ${DESTDIR}${LOCALBASE}/include/$$i || \
9 - ${INSTALL} -D -o ${BINOWN} -g ${BINGRP} -m 444 $$i\
10 + ${INSTALL} -D -m 444 $$i\
11 ${DESTDIR}${LOCALBASE}/include/$$i"; \
12 echo $$j; \
13 eval "$$j"; \
14 @@ -52,11 +52,7 @@ MANFORMAT?= mangz
15 INSTALL?= install
16 LINK?= ln
18 -BINOWN?= root
19 -BINGRP?= root
20 LIBPERM?= 755
21 -MANOWN?= root
22 -MANGRP?= root
23 MANPERM?= 644
25 include ${CURDIR}/shlib_version
26 @@ -138,10 +134,10 @@ all: ${TARGET_LIB} ${TARGET_MAN}
28 .PHONY: install
29 install: includes ${TARGET_LIB} ${TARGET_MAN}
30 - ${INSTALL} -D -o ${BINOWN} -g ${BINGRP} -m ${LIBPERM} ${TARGET_LIB} ${DESTDIR}${LIBDIR}/${TARGET_LIB}
31 + ${INSTALL} -D -m ${LIBPERM} ${TARGET_LIB} ${DESTDIR}${LIBDIR}/${TARGET_LIB}
32 ${LINK} -s ${TARGET_LIB} ${DESTDIR}${LIBDIR}/${SONAME_LIB}
33 ${LINK} -s ${TARGET_LIB} ${DESTDIR}${LIBDIR}/${BASE_LIB}
34 - ${INSTALL} -D -o ${MANOWN} -g ${MANGRP} -m ${MANPERM} ${TARGET_MAN} ${DESTDIR}${MANDIR}/${TARGET_MAN}
35 + ${INSTALL} -D -m ${MANPERM} ${TARGET_MAN} ${DESTDIR}${MANDIR}/${TARGET_MAN}
37 CLEANFILES+= *.o ${TARGET_LIB}