/[pkg-src]/trunk/dropbear/patches/dropbear-2013.62-fix-make-install-for-multi-target-wont-fail-on-scp.patch |
Annotation of /trunk/dropbear/patches/dropbear-2013.62-fix-make-install-for-multi-target-wont-fail-on-scp.patch
Parent Directory | Revision Log
Revision 2353 -
(hide annotations)
(download)
Tue Dec 17 12:54:04 2013 UTC (10 years, 9 months ago) by niro
File size: 831 byte(s)
Tue Dec 17 12:54:04 2013 UTC (10 years, 9 months ago) by niro
File size: 831 byte(s)
-added upstream patches
1 | niro | 2353 | # HG changeset patch |
2 | # User Mike Frysinger <vapier@gentoo.org> | ||
3 | # Date 1386769833 -28800 | ||
4 | # Node ID f05107560aa946688710aefa48d595a6a1483a8a | ||
5 | # Parent 77972dc491caf4bfdbd37028ceb63a534f910fe7 | ||
6 | Fix so that "make install" for multi target won't fail on scp which doesn't | ||
7 | have a manpage | ||
8 | |||
9 | diff -r 77972dc491ca -r f05107560aa9 Makefile.in | ||
10 | --- a/Makefile.in Wed Dec 11 21:48:02 2013 +0800 | ||
11 | +++ b/Makefile.in Wed Dec 11 21:50:33 2013 +0800 | ||
12 | @@ -136,7 +136,7 @@ | ||
13 | -rm -f $(DESTDIR)$(bindir)/$*$(EXEEXT) | ||
14 | -ln -s $(bindir)/dropbearmulti$(EXEEXT) $(DESTDIR)$(bindir)/$*$(EXEEXT) | ||
15 | $(INSTALL) -d $(DESTDIR)$(mandir)/man1 | ||
16 | - $(INSTALL) -m 644 $*.1 $(DESTDIR)$(mandir)/man1/$*.1 | ||
17 | + if test -e $*.1; then $(INSTALL) -m 644 $*.1 $(DESTDIR)$(mandir)/man1/$*.1; fi | ||
18 | |||
19 | # dropbear should go in sbin, so it needs a seperate rule | ||
20 | inst_dropbear: dropbear | ||
21 |