pkgsrc/www/analog/patches/patch-aa
tron 92b93f0d7c Update "analog" package to version 6.0. Changes since version 5.32:
- Added Palm OS and Symbian OS to the Operating System Report.
- ISO 8601 extended date format available in language files.
- Another style sheet from James Reeves added to the examples directory.
- Analog is now distributed under the GNU General Public License.
- Fix problems building unzip.c on some platforms.
- Fix invalid XHTML output in non-European languages.
- The DNSTIMEOUT command is now off by default, because it breaks DNS lookups
  on many platforms.
- Recognises Firebird and Firefox as browsers.
- msnbot recognised as a robot in the default configuration.
- Patches for Mac.
- New Makefiles for Windows and RISC OS.
- Corrections to Finnish and Japanese language files.
- Reads zip and bzip2 logfiles without the need for an UNCOMPRESS command.
- Automatically strips ;params section from URLs (for example, jsessionid's).
- Recognises Windows Server 2003 in the Operating System Report.
- First user-contributed style sheets added to examples/css directory.
- Computer-readable output style now forces English output.
- More corrections to XML output style.
- Patches for OpenVMS and RISC OS.
- Basque language files.
- Country code .cs, formerly Czechoslovakia, is now Serbia and Montenegro.
  (Changed in English, French and German domains files, and removed from other
  domains files).
- Corrections to Swedish and Ukrainian language files, and to German domains
  files.
- Internal Search reports now work properly on case-insensitive file systems.
- Various bug fixes and improvements to XHTML and XML output styles.
- New command CSSPREFIX to add a prefix to the CSS class names used in the
  XHTML output.
- XML DTD distributed with the program.
- Language files for Simplified Chinese.
- This is the first beta test for version 6.
- Output code completely rewritten, to permit more output formats.
- New output formats XHTML and XML. (Thanks to Per Jessen for XML, and to
  Jeremy Wadsack for help with XHTML).
- XHTML is now the default output style.
- The barcharts are now made from png's not gif's by default.
- New command LOGOURL.
2004-12-19 22:00:10 +00:00

29 lines
1.6 KiB
Text

$NetBSD: patch-aa,v 1.24 2004/12/19 22:00:10 tron Exp $
--- Makefile.orig 2004-12-19 13:51:30.000000000 +0000
+++ Makefile 2004-12-19 21:45:24.000000000 +0000
@@ -2,16 +2,20 @@
# Please read docs/Readme.html, or http://www.analog.cx/
# This is a general Unix-like Makefile: Makefiles for other OS's can be found
# in the "build" directory.
-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.
+#MAKE = make # which "make" to use
+#CFLAGS = -O2 # options, e.g. for optimisation or ANSI compilation.
# Some OS's need -D_FILE_OFFSET_BITS=64 to support files > 2MB.
# 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 = -DANALOGDIR=\"${PREFIX}/lib/analog/\" \
+ -DDEFAULTCONFIGFILE=\"${SYSCONFDIR}/analog.cfg\" \
+ -DIMAGEDIR=\"/images/\" \
+ -DLANGDIR=\"${PREFIX}/lib/analog/lang/\" \
+ -DLOGFILE=\"/var/log/httpd-access.log\"
# ... -DNOOPEN -DNOFOLLOW -DNOALARM -DNOGRAPHICS -DNOGMTIME ...
# ... -DEBCDIC -DUSE_PLAIN_SETJMP ...
# ... -DHAVE_GD -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_PCRE ...