summaryrefslogtreecommitdiff
path: root/www/analog/files
diff options
context:
space:
mode:
authorMichael Haro <mharo@FreeBSD.org>2002-01-15 03:14:26 +0000
committerMichael Haro <mharo@FreeBSD.org>2002-01-15 03:14:26 +0000
commitbdec4c21bbc86e19bd7f1c9e1fb769a7ff6e1e2b (patch)
tree060c65d449069dda27b4134a2e04bc9b2de74b56 /www/analog/files
parentFix mastersites (diff)
properly update port to 5.1.
Bump PORT_EPOCH to 1 because 5.1 should be > 5.03 Submitted by: Oliver Lehmann <olivleh1@raisdorf.net>
Notes
Notes: svn path=/head/; revision=53087
Diffstat (limited to 'www/analog/files')
-rw-r--r--www/analog/files/patch-aa36
-rw-r--r--www/analog/files/patch-ab6
-rw-r--r--www/analog/files/patch-ac10
3 files changed, 23 insertions, 29 deletions
diff --git a/www/analog/files/patch-aa b/www/analog/files/patch-aa
index b5ee1b12ee1b..05625d435fde 100644
--- a/www/analog/files/patch-aa
+++ b/www/analog/files/patch-aa
@@ -1,45 +1,39 @@
---- src/Makefile.orig Tue May 1 03:38:33 2001
-+++ src/Makefile Fri May 4 05:15:57 2001
-@@ -1,12 +1,14 @@
- # Makefile for analog 5.0
+--- src/Makefile.orig Wed Jan 9 21:16:22 2002
++++ src/Makefile Wed Jan 9 21:18:38 2002
+@@ -1,14 +1,20 @@
+ # Makefile for analog 5.1
# Please read docs/Readme.html, or http://www.analog.cx/
-CC = gcc # which compiler to use: eg cc, acc, gcc. NB Different
+CC ?= gcc # which compiler to use: eg cc, acc, gcc. NB Different
# compilers need different CFLAGS, e.g., -O instead of -O2.
+ MAKE = make # which "make" to use
-CFLAGS = -O2 # options, e.g. for optimisation or ANSI compilation.
-+LOCALBASE?=/usr/local
+CFLAGS += -I${LOCALBASE}/include -I${LOCALBASE}/include/gd
+#CFLAGS = -O2 # options, e.g. for optimisation or ANSI compilation.
# HP/UX cc needs CFLAGS = -Aa (HP/UX 9) or -Ae (HP/UX 10)
+ # BeOS needs CFLAGS = -O2 -Wl,-L/boot/home/config/lib
# BS2000/OSD needs CFLAGS = -XLLML -XLLMK
# NeXTSTEP needs CFLAGS = -O2 -pipe -no-precomp
-DEFS = # any combination of -DNOPIPES -DNODNS -DNODIRENT -DNOGLOB ...
++DEFS = -DLOGFILE=\"/var/log/httpd-access.log\" \
++ -DIMAGEDIR=\"/images/\" \
++ -DDEFAULTCONFIGFILE=\"$(PREFIX)/etc/analog.cfg\" \
++ -DLANGDIR=\"${PREFIX}/share/analog/lang/\" \
++ -DCONFIGDIR=\"$(PREFIX)/share/analog/\"
+#DEFS = # any combination of -DNOPIPES -DNODNS -DNODIRENT -DNOGLOB ...
# ... -DNOOPEN -DNOFOLLOW -DNOALARM -DNOGRAPHICS -DNOGMTIME ...
# ... -DEBCDIC -DUSE_PLAIN_SETJMP -DHAVE_GD -DHAVE_PCRE ...
# ... -DNEED_STRCMP -DNEED_MEMMOVE -DNEED_STRTOUL ...
-@@ -19,10 +21,23 @@
- # 64-bit Solaris needs -DHAVE_ADDR_T
- # DYNIX/ptx needs -D_SOCKET_VERSION=11
- # MPE/iX needs -D_POSIX_SOURCE -D_SOCKET_SOURCE
-+DEFS = -DLOGFILE=\"/var/log/httpd-access.log\" \
-+ -DIMAGEDIR=\"/images/\" \
-+ -DDEFAULTCONFIGFILE=\"$(PREFIX)/etc/analog.cfg\" \
-+ -DLANGDIR=\"${PREFIX}/share/analog/lang/\" \
-+ -DCONFIGDIR=\"$(PREFIX)/share/analog/\"
-+
- #
+@@ -25,6 +31,12 @@
OS = UNIX # Operating system: UNIX, DOS, WIN32, MAC, OS2, OSX, VMS
# RISCOS, BEOS, NEXTSTEP, MPEIX, BS2000, AS400, OS390
--LIBS = -lm # extra libraries needed; almost all platforms (but not OS X)
-+LIBS = -lm
+ LIBS = -lm # extra libraries needed; most platforms (but not OS X or BeOS)
+
+.if !defined(WITHOUT_GD)
-+DEFS+= -DHAVE_GD
-+LIBS+= -L${LOCALBASE}/lib -lgd -lpng -ljpeg -lz
++DEFS+= -DHAVE_GD
++LIBS+= -L${LOCALBASE}/lib -lgd -lpng -ljpeg -lz
+.endif
+
-+# extra libraries needed; almost all platforms (but not OS X)
# need -lm LAST
# if you defined HAVE_GD above you also need -lgd -lpng -ljpeg -lz
# if you defined HAVE_PCRE above you also need -lpcre
diff --git a/www/analog/files/patch-ab b/www/analog/files/patch-ab
index 10cae850af90..c0171907bf11 100644
--- a/www/analog/files/patch-ab
+++ b/www/analog/files/patch-ab
@@ -1,6 +1,6 @@
---- src/tree.c.orig Thu May 3 19:31:50 2001
-+++ src/tree.c Thu May 3 19:32:22 2001
-@@ -803,8 +803,16 @@
+--- src/tree.c.orig Wed Jan 9 21:20:12 2002
++++ src/tree.c Wed Jan 9 21:20:24 2002
+@@ -886,8 +886,16 @@
}
else if (strstr(whole, "Linux") != NULL || strstr(whole, "linux") != NULL)
*name = "Unix:Linux";
diff --git a/www/analog/files/patch-ac b/www/analog/files/patch-ac
index 16656ea0e87d..53f7575c0e71 100644
--- a/www/analog/files/patch-ac
+++ b/www/analog/files/patch-ac
@@ -1,9 +1,9 @@
---- analog.cfg.orig Thu May 3 19:27:47 2001
-+++ analog.cfg Thu May 3 19:27:15 2001
-@@ -9,7 +9,8 @@
- # There is a much more extensive configuration file in examples/big.cfg
+--- analog.cfg.orig Wed Jan 9 21:21:05 2002
++++ analog.cfg Wed Jan 9 21:21:22 2002
+@@ -10,7 +10,8 @@
#
- # If you need a LOGFORMAT command it must go here, above the LOGFILE commands.
+ # If you need a LOGFORMAT command (most people don't -- try it without first!),
+ # it must go here, above the LOGFILE commands.
-LOGFILE logfile.log
+LOGFORMAT COMBINED
+LOGFILE /var/log/httpd-access.log