diff options
Diffstat (limited to 'net-misc/wput/files/wput-0.6.2-respect-destdir.patch')
-rw-r--r-- | net-misc/wput/files/wput-0.6.2-respect-destdir.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/net-misc/wput/files/wput-0.6.2-respect-destdir.patch b/net-misc/wput/files/wput-0.6.2-respect-destdir.patch new file mode 100644 index 000000000000..f0cbfcdebd69 --- /dev/null +++ b/net-misc/wput/files/wput-0.6.2-respect-destdir.patch @@ -0,0 +1,23 @@ +diff --git a/Makefile.in b/Makefile.in +index 6756cd2..6debea8 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -16,12 +16,12 @@ win-clean: + + install: all + cd po && $(MAKE) $(MAKEDEFS) $@ +- mkdir -p $(bindir) +- mkdir -p $(mandir) +- install -m0755 wput $(bindir) +- install -m0644 doc/wput.1.gz $(mandir) +- ln -s $(bindir)/wput $(bindir)/wdel +- install -m0644 doc/wdel.1.gz $(mandir) ++ install -d $(DESTDIR)/$(bindir) ++ install -d $(DESTDIR)/$(mandir) ++ install -m0755 wput $(DESTDIR)/$(bindir) ++ install -m0644 doc/wput.1 $(DESTDIR)/$(mandir) ++ ln -s wput $(DESTDIR)/$(bindir)/wdel ++ install -m0644 doc/wdel.1 $(DESTDIR)/$(mandir) + @echo "----------------" + @echo "Wput and Wdel installed. See 'wput/wdel -h' or 'man wput/wdel' for" + @echo "usage information." |