1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/www/jesred/files/patch-aa
Chris D. Faulhaber ebbabe8dd1 Remove www/squid2 dependency
PR:		17041
Submitted by:	Maintainer
2000-03-04 13:27:19 +00:00

47 lines
1.4 KiB
Plaintext

--- Makefile.orig Sat Jul 25 07:19:50 1998
+++ Makefile Wed Jan 19 11:53:51 2000
@@ -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/jesred\"
# 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