%n bin86 %v 0.3 %c * %l * %b * %d * %f ftp.mcc* %t bin86-0.3.tgz %w Misc %% %setup patch -u -p1 <<'ENDPATCH' diff -ru2N bin86-0.3/Makefile bin86-MCC/Makefile --- bin86-0.3/Makefile Wed May 17 03:08:46 1995 +++ bin86-MCC/Makefile Sun Aug 18 20:15:46 1996 @@ -1,5 +1,5 @@ CC=gcc -CFLAGS=-O6 -fomit-frame-pointer -LDFLAGS= +CFLAGS=-O6 -fomit-frame-pointer -Dwarn=b86_warn +LDFLAGS=-Wl,-warn-common # Where to get strtoul ()? #LIBS=-liberty @@ -27,7 +27,5 @@ install: all - cp as/as86 $(BINDIR)/$(AS86) - cp ld/ld86 $(BINDIR)/$(LD86) - $(STRIP) $(BINDIR)/$(AS86) $(BINDIR)/$(LD86) + install -s -m 555 as/as86 ld/ld86 /usr/bin depend clean clobber: diff -ru2N bin86-0.3/as/Makefile bin86-MCC/as/Makefile --- bin86-0.3/as/Makefile Wed May 17 03:08:48 1995 +++ bin86-MCC/as/Makefile Sun Aug 18 20:16:44 1996 @@ -21,5 +21,5 @@ clean: - $(RM) *.o as86 core endian.h + $(RM) *.o as86 core endian.h det_endian as.o: const.h type.h byteord.h macro.h file.h flag.h globvar.h @@ -45,5 +45,5 @@ $(CC) -o det_endian det_endian.c -@if [ $$? = 0 ]; then \ - det_endian > $@; \ + ./det_endian > $@; \ if [ $$? = 0 ]; then \ rm -f det_endian; \ ENDPATCH make * make install %%