1 --- aget-0.4.1/Makefile.Solaris 2016-12-21 22:44:23.411350275 -0200
2 +++ aget-0.4.1-oi/Makefile.Solaris 2016-12-21 22:49:04.283929368 -0200
4 # http://www.enderunix.org/aget/
6 OBJS = main.o Aget.o Misc.o Head.o Signal.o Download.o Resume.o
7 -CFLAGS = -g -W -DSOLARIS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
8 -LDFLAGS = -lpthread -lsocket -lnsl -lresolv
10 +CFLAGS += -DSOLARIS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
11 +LDFLAGS += -lpthread -lsocket -lnsl -lresolv
12 STRIP=/usr/ccs/bin/strip
15 - $(CC) -o aget $(OBJS) $(LDFLAGS)
16 + $(CC) -m$(BITS) -o aget $(OBJS) $(LDFLAGS)
22 - cp -f aget /usr/local/bin/aget
23 + mkdir -p $(PREFIX)/bin
24 + mkdir -p $(PREFIX)/share/man/man1
25 + cp -f aget $(PREFIX)/bin/aget
26 + cp -f aget.1.Solaris $(PREFIX)/share/man/man1/aget.1
29 rm -f aget *.o core.* *~