Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / shells / scponly / scponly-fix-make.patch
blobe8522ec8e6e3024123b5d2751eeb13934a532af3
1 --- a/Makefile.in
2 +++ b/Makefile.in
3 @@ -41,14 +41,14 @@
4 ${INSTALL} -d ${DESTDIR}${bindir}
5 ${INSTALL} -d ${DESTDIR}${mandir}/man8
6 ${INSTALL} -d ${DESTDIR}${CONFDIR}
7 - ${INSTALL} -o 0 -g 0 scponly ${DESTDIR}${bindir}/scponly
8 - ${INSTALL} -o 0 -g 0 -m 0644 scponly.8 ${DESTDIR}${mandir}/man8/scponly.8
9 - ${INSTALL} -o 0 -g 0 -m 0644 debuglevel ${DESTDIR}${DEBUGFILE}
10 + ${INSTALL} scponly ${DESTDIR}${bindir}/scponly
11 + ${INSTALL} -m 0644 scponly.8 ${DESTDIR}${mandir}/man8/scponly.8
12 + ${INSTALL} -m 0644 debuglevel ${DESTDIR}${DEBUGFILE}
13 if test "x${CHROOTED_NAME}" != "x"; then \
14 ${INSTALL} -d ${DESTDIR}${sbindir}; \
15 rm -f ${DESTDIR}${sbindir}/${CHROOTED_NAME}; \
16 cp scponly ${CHROOTED_NAME}; \
17 - ${INSTALL} -o 0 -g 0 -m 4755 ${CHROOTED_NAME} ${DESTDIR}${sbindir}/${CHROOTED_NAME}; \
18 + ${INSTALL} ${CHROOTED_NAME} ${DESTDIR}${sbindir}/${CHROOTED_NAME}; \
21 debuglevel: