diff options
Diffstat (limited to 'www/jesred/files/patch-aa')
-rw-r--r-- | www/jesred/files/patch-aa | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/www/jesred/files/patch-aa b/www/jesred/files/patch-aa new file mode 100644 index 000000000000..820af33d9800 --- /dev/null +++ b/www/jesred/files/patch-aa @@ -0,0 +1,46 @@ +--- Makefile.orig Sat Jul 25 07:19:50 1998 ++++ Makefile Mon Nov 8 18:22:45 1999 +@@ -2,20 +2,20 @@ + # HINT: If you want to run the program on an UltraSPARC driven machine, + # I recommend to use Sun C-Compiler >= 4.0 or gcc >= 2.8.0 with + # optimization level >= 4 for best performance. +-CC=cc ++#CC=cc + +-INCLUDE = -I. +-LDFLAGS = ++#INCLUDE = -I. ++#LDFLAGS = + + # Compiler Options + +-AC_CFLAGS = -xO5 -mr -s -xcrossfile #-g -xsb # SUN cc >= 4.0 ++#AC_CFLAGS = -xO5 -mr -s -xcrossfile #-g -xsb # SUN cc >= 4.0 + #AC_CFLAGS = -O3 -s # SGI cc, AIX cc + #AC_CFLAGS = -O5 -s # GNU cc + + # extra Libraries ( we need this for inet_addr(char *) only ) + +-XTRA_LIBS = -lnsl # Solaris 2.x ++#XTRA_LIBS = -lnsl # Solaris 2.x + #XTRA_LIBS = # AIX 4.2, Linux 2.x.x, IRIX 5.x, 6.x + + # if you want to have the option, to enable debug message logging, +@@ -49,7 +49,7 @@ + # If jesred is compiled without -DUSE_ACCEL the ACCEL strings in the + # redirect rules are ignored, if there are some. + # +-# DEFS = -DUSE_ACCEL ++DEFS = -DUSE_ACCEL -DDEFAULT_PATH=\"${PREFIX}/etc/squid\" + + # That's it - no further changes should be necessary ;-) + # =========================================================================== +@@ -66,7 +66,7 @@ + CFILES = $(patsubst %.o,%.c,$(OBJS)) + + PROGS = jesred +-CFLAGS = $(AC_CFLAGS) $(INCLUDE) ++CFLAGS += $(AC_CFLAGS) $(INCLUDE) + LIBS = -L. $(XTRA_LIBS) + + .SUFFIXES: .o |