mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-08 23:06:56 +00:00
710d966e30
Fix segmentation fault problem. Update to 1999.01.10. Submitted by: Mikhail Teterin <mi@aldan.algebra.com>
72 lines
1.9 KiB
Plaintext
72 lines
1.9 KiB
Plaintext
--- Makefile.in.orig Tue Dec 1 12:03:35 1998
|
|
+++ Makefile.in Sat Sep 4 23:07:24 1999
|
|
@@ -8,8 +8,8 @@
|
|
|
|
|
|
RM=rm -f
|
|
-#CC=gcc -ansi
|
|
-#CC=/opt/SUNWspro/SC4.0/bin/cc
|
|
+WCOLDIR=@prefix@/wcol
|
|
+DEFAULT_POOLDIR?=/var/spool/wcol
|
|
|
|
#
|
|
# Compile Flag
|
|
@@ -58,7 +58,11 @@
|
|
#
|
|
|
|
DEFS = @DEFS@ \
|
|
- -DDEFAULT_CONFIGFILE=\"/etc/wcol.conf\" \
|
|
+ -DDEFAULT_CONFIGFILE=\"@prefix@/etc/wcol.conf\" \
|
|
+ -DDEFAULT_LOGFILE=\"/var/log/wcol.log\" \
|
|
+ -DDEFAULT_PIDFILE=\"/var/run/wcol.pid\" \
|
|
+ -DDEFAULT_STATEFILE=\"/var/tmp/wcol.state\" \
|
|
+ -DDEFAULT_POOLDIR=\"${DEFAULT_POOLDIR}\" \
|
|
-DLOGGING_LOCALTIME \
|
|
-DMAX_REQUEST_QUEUE=2048 \
|
|
- -DMAX_HANDLER=4 -DNUM_HANDLER=4 \
|
|
+ -DMAX_HANDLER=2 -DNUM_HANDLER=2 \
|
|
@@ -66,13 +70,14 @@
|
|
-DSESSION_TIMEOUT=60000 -DSESSION_LIFETIME=3600000 \
|
|
-DMAX_PROMPTER=2 -DNUM_PROMPTER=2 \
|
|
-DMAX_SPEAKER=2 -DNUM_SPEAKER=2 \
|
|
+ -DUSE_SYSLOG \
|
|
-DUSE_ICP_NOTIFY \
|
|
-DQUERY_TIMEOUT=2000
|
|
|
|
|
|
LIBS = @LIBS@
|
|
|
|
-CFLAGS = -g $(DEFS)
|
|
+CFLAGS += $(DEFS)
|
|
|
|
|
|
###
|
|
@@ -155,6 +160,27 @@
|
|
allclean:
|
|
-$(MAKE) clean
|
|
$(RM) config.h Makefile config.cache config.status
|
|
+
|
|
+###
|
|
+install:
|
|
+ @if [ ! -d ${WCOLDIR} ]; then \
|
|
+ mkdir ${WCOLDIR}; \
|
|
+ fi
|
|
+ @echo "install programs..."
|
|
+ ${BSD_INSTALL_PROGRAM} ./hstate ${WCOLDIR}/hstate
|
|
+ ${BSD_INSTALL_PROGRAM} ./icp ${WCOLDIR}/icp
|
|
+ ${BSD_INSTALL_PROGRAM} ./jfilter ${WCOLDIR}/jfilter
|
|
+ ${BSD_INSTALL_PROGRAM} ./parse ${WCOLDIR}/parse
|
|
+ ${BSD_INSTALL_PROGRAM} ./plist ${WCOLDIR}/plist
|
|
+ ${BSD_INSTALL_PROGRAM} ./reaper ${WCOLDIR}/reaper
|
|
+ ${BSD_INSTALL_PROGRAM} ./scntl ${WCOLDIR}/scntl
|
|
+ ${BSD_INSTALL_PROGRAM} ./sstate ${WCOLDIR}/sstate
|
|
+ ${BSD_INSTALL_PROGRAM} ./wcol ${WCOLDIR}/wcol
|
|
+ @echo "install admin scripts..."
|
|
+ ${BSD_INSTALL_SCRIPT} ../admin/killwcol ${WCOLDIR}/killwcol
|
|
+ ${BSD_INSTALL_SCRIPT} ../admin/pool_walk ${WCOLDIR}/pool_walk
|
|
+ ${BSD_INSTALL_SCRIPT} ../stat/log_report ${WCOLDIR}/log_report
|
|
+ ${BSD_INSTALL_SCRIPT} ../stat/log_transition ${WCOLDIR}/log_transition
|
|
|
|
###
|
|
### dependency
|