From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- net-misc/wput/files/wput-0.6-gentoo.diff | 18 ++++++++++++++++++ net-misc/wput/files/wput-0.6-respectldflags.patch | 13 +++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 net-misc/wput/files/wput-0.6-gentoo.diff create mode 100644 net-misc/wput/files/wput-0.6-respectldflags.patch (limited to 'net-misc/wput/files') diff --git a/net-misc/wput/files/wput-0.6-gentoo.diff b/net-misc/wput/files/wput-0.6-gentoo.diff new file mode 100644 index 000000000000..312172348d02 --- /dev/null +++ b/net-misc/wput/files/wput-0.6-gentoo.diff @@ -0,0 +1,18 @@ +diff -urN wput/Makefile.in wput/Makefile.in +--- wput/Makefile.in 2006-04-04 18:16:52.000000000 +0100 ++++ wput/Makefile.in 2006-11-07 17:31:10.000000000 +0000 +@@ -15,8 +15,12 @@ + + install: all + cd po && $(MAKE) $(MAKEDEFS) $@ +- install -m0755 wput $(bindir) +- install -m0644 doc/wput.1.gz $(mandir) ++ ++ install -d $(DESTDIR)/$(bindir) ++ install -m0755 wput $(DESTDIR)/$(bindir) ++ install -d $(DESTDIR)/$(mandir) ++ install -m0644 doc/wput.1.gz $(DESTDIR)/$(mandir) ++ + @echo "----------------" + @echo "Wput installed. See 'wput -h' or 'man wput' for usage information." + @echo "Further documentation is located in the doc/USAGE.* files." diff --git a/net-misc/wput/files/wput-0.6-respectldflags.patch b/net-misc/wput/files/wput-0.6-respectldflags.patch new file mode 100644 index 000000000000..d2b460b339b3 --- /dev/null +++ b/net-misc/wput/files/wput-0.6-respectldflags.patch @@ -0,0 +1,13 @@ +Index: wput/src/Makefile.in +=================================================================== +--- wput.orig/src/Makefile.in ++++ wput/src/Makefile.in +@@ -23,7 +23,7 @@ ftplib.o: socketlib.h ftplib.h + ftp-ls.o: ftp.h wget.h url.h + + wput: $(OBJ) +- $(CC) -o $(EXE) $(OBJ) $(LIBS) ++ $(CC) $(LDFLAGS) -o $(EXE) $(OBJ) $(LIBS) + clean: + rm -f *.o *~ *.bak ../wput getopt/*.o + win-clean: clean -- cgit v1.2.3