From 9084228b18f85c05f4a3868a3ef0e2e56584f84b Mon Sep 17 00:00:00 2001 From: Chris Piazza Date: Sat, 24 Jul 1999 06:09:46 +0000 Subject: Unbreak, ARCH was being passed through to the Makefiles resulting in cc -I... i386 -c ... etc being used. Noticed by: bento.freebsd.org --- net/sharity-light/files/patch-aa | 18 ++++++++++++++++++ net/sharity-light/files/patch-ad | 22 ++++++++++++++++++++-- 2 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 net/sharity-light/files/patch-aa (limited to 'net') diff --git a/net/sharity-light/files/patch-aa b/net/sharity-light/files/patch-aa new file mode 100644 index 000000000000..acff629ab8ee --- /dev/null +++ b/net/sharity-light/files/patch-aa @@ -0,0 +1,18 @@ +--- nfs/Makefile.orig Sat Jul 24 23:05:05 1999 ++++ nfs/Makefile Sat Jul 24 23:05:17 1999 +@@ -16,13 +16,13 @@ + + all: nfs.o + +-COMPILE = $(CC) $(ARCH) -c $(INCLUDES) $(CFLAGS) ++COMPILE = $(CC) -c $(INCLUDES) $(CFLAGS) + + .c.o: + $(COMPILE) $< + + nfs.o: $(OFILES) +- $(LD) $(ARCH) -r -o $@ $(OFILES) ++ $(LD) -r -o $@ $(OFILES) + + # the purpose of the sed "s/char data/long long data/" hack is to ensure + # proper alignment. [Marc Boucher ] diff --git a/net/sharity-light/files/patch-ad b/net/sharity-light/files/patch-ad index be51b6c7ee72..c287945cc7e8 100644 --- a/net/sharity-light/files/patch-ad +++ b/net/sharity-light/files/patch-ad @@ -1,5 +1,5 @@ ---- Makefile.orig Mon Jan 4 19:07:31 1999 -+++ Makefile Mon Jan 4 19:08:07 1999 +--- Makefile.orig Tue Nov 24 05:52:13 1998 ++++ Makefile Sat Jul 24 23:04:14 1999 @@ -12,11 +12,11 @@ ############################################################################## @@ -29,3 +29,21 @@ # For NetBsd #CFLAGS = -Wall -O2 -DNETBSD +@@ -66,7 +66,7 @@ + OFILES = proc.o sock.o rumba.o psinode.o kernel.o smb_abstraction.o fo_nfs.o + + .c.o: +- $(CC) $(CFLAGS) $(ARCH) -c -o $*.o $< ++ $(CC) $(CFLAGS) -c -o $*.o $< + + all: $(NAME) + +@@ -74,7 +74,7 @@ + (cd nfs; $(MAKE) "CFLAGS=$(CFLAGS)" "CC=$(THE_CC)" "ARCH=$(ARCH)" "RPC_WARNFLAGS=$(RPC_WARNFLAGS)") + + $(NAME): $(OFILES) nfs_dir +- $(CC) $(LDFLAGS) $(ARCH) -o $(NAME) $(OFILES) nfs/nfs.o $(LIBS) ++ $(CC) $(LDFLAGS) -o $(NAME) $(OFILES) nfs/nfs.o $(LIBS) + + clean: + rm -f $(OFILES) -- cgit v1.2.3