summaryrefslogtreecommitdiff
path: root/net/sharity-light/files/patch-ad
diff options
context:
space:
mode:
authorDmitrij Tejblum <dt@FreeBSD.org>1999-01-06 17:11:24 +0000
committerDmitrij Tejblum <dt@FreeBSD.org>1999-01-06 17:11:24 +0000
commitb727f8ef632aa50510588a1001332e43623b7d46 (patch)
treed3689a6ce9368a8937d2367a048a8198d7405462 /net/sharity-light/files/patch-ad
parentUpgrade to Apache 1.3.3 + mod_ssl 2.1.6 (diff)
Upgrade to 1.2.
Notes
Notes: svn path=/head/; revision=15886
Diffstat (limited to 'net/sharity-light/files/patch-ad')
-rw-r--r--net/sharity-light/files/patch-ad31
1 files changed, 5 insertions, 26 deletions
diff --git a/net/sharity-light/files/patch-ad b/net/sharity-light/files/patch-ad
index 3a3f6b16f96a..be51b6c7ee72 100644
--- a/net/sharity-light/files/patch-ad
+++ b/net/sharity-light/files/patch-ad
@@ -1,12 +1,11 @@
---- Makefile.orig Wed Jun 3 15:19:51 1998
-+++ Makefile Wed Jun 3 15:20:59 1998
-@@ -13,12 +13,12 @@
+--- Makefile.orig Mon Jan 4 19:07:31 1999
++++ Makefile Mon Jan 4 19:08:07 1999
+@@ -12,11 +12,11 @@
##############################################################################
# For NEXTSTEP/OPENSTEP:
-CFLAGS = -Wall -O2 -traditional-cpp -g
+#CFLAGS = -Wall -O2 -traditional-cpp -g
- INCLUDES = $(MYINCL) $(INCL)
# put your architecture here:
-ARCH = -arch i386
-THE_CC = cc
@@ -15,38 +14,18 @@
+#THE_CC = cc
+#RPC_WARNFLAGS = -Wno-unused -Wno-switch -Wno-uninitialized
- # For Linux:
+ # For Linux: (use static linking because of libc5/libc6 troubles)
#CFLAGS = -Wall -O2 -g
-@@ -26,10 +26,10 @@
+@@ -24,9 +24,9 @@
#RPC_WARNFLAGS = -Wno-unused -Wno-switch -Wno-uninitialized
# For FreeBSD
-#CFLAGS = -Wall -O2
--#INCLUDES = $(MYINCL) $(INCL)
-#THE_CC = cc
-#RPC_WARNFLAGS = -Wno-unused -Wno-switch -Wno-uninitialized
+CFLAGS += -Wall
-+INCLUDES = $(MYINCL) $(INCL)
+THE_CC := $(CC)
+RPC_WARNFLAGS = -Wno-unused -Wno-switch -Wno-uninitialized
# For NetBsd
#CFLAGS = -Wall -O2 -DNETBSD
-@@ -67,7 +67,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)
-
-@@ -75,7 +75,7 @@
- (cd nfs; $(MAKE) "CFLAGS=$(CFLAGS)" "CC=$(THE_CC)" "ARCH=$(ARCH)" "RPC_WARNFLAGS=$(RPC_WARNFLAGS)")
-
- $(NAME): $(OFILES) nfs_dir
-- $(CC) $(ARCH) -o $(NAME) $(OFILES) nfs/nfs.o $(LIBS)
-+ $(CC) -o $(NAME) $(OFILES) nfs/nfs.o $(LIBS)
-
- clean:
- rm -f $(OFILES)