freebsd-ports/ftp/wput/files/patch-src::Makefile.in
Kirill Ponomarev 6dc7671734 Add wput 0.3.6,
wput is a tiny program that looks like wget and does as the
name suggests exactly the opposite: it uploads files or
recursivly whole directories to a ftp-server and supports
resuming.

PR:		60032
Submitted by:	Nosov Artem <chip-set@mail.ru>
2003-12-08 10:13:10 +00:00

24 lines
539 B
Text

--- src/Makefile.in.orig Tue Dec 2 03:57:48 2003
+++ src/Makefile.in Tue Dec 2 03:58:04 2003
@@ -4,10 +4,10 @@
prefix=@prefix@
bindir=@bindir@
CC=@CC@
-CFLAGS= @CFLAGS@
+CFLAGS= @CFLAGS@ @CPPFLAGS@
LDFLAGS=@LDFLAGS@
EXE=../wput
-LIBS=
+LIBS= @LIBS@
#DEBUG= -DDEBUG
DEBUG=
OBJ=wput.o ftp.o utils.o progress.o socket.o
@@ -17,7 +17,7 @@
all: wput
wput: $(OBJ)
- $(CC) $(LIBS) $(DEBUG) -o $(EXE) $(OBJ)
+ $(CC) $(LIBS) $(DEBUG) -o $(EXE) $(OBJ) $(LDFLAGS)
clean:
rm -f *.o wput *~ *.bak
rm -r msvcpp/Debug msvcpp/Release