349dcec075
- Switch LIB_DEPENDS from math/libgmp-freebsd to math/libgmp4 on FreeBSD 5 only (the base libgmp 2.0.1 on FreeBSD 4 is fine) so this port buils on architectures other than alpha and i386 (tested on FreeBSD/sparc64). - Respect CC and CFLAGS. - Remove broken URL forgotten in Makefile 1.16 and pkg-descr 1.5. - Give maintainership to submitter. Submitted by: marius@alchemy.franken.de Approved by: portmgr
26 lines
770 B
C
26 lines
770 B
C
--- dhisd.h.orig Sun Nov 4 20:50:14 2001
|
|
+++ dhisd.h Sun Nov 4 20:51:05 2001
|
|
@@ -47,7 +47,7 @@
|
|
#include<sys/signal.h>
|
|
#include<sys/wait.h>
|
|
#include<syslog.h>
|
|
-#include<varargs.h>
|
|
+#include<stdarg.h>
|
|
#include<gmp.h>
|
|
|
|
#define BOURNE_SHELL "/bin/sh"
|
|
@@ -64,10 +64,10 @@
|
|
#define CHECK_FAILS 3 /* maximum check fails */
|
|
|
|
#define DHISD_PORT 58800
|
|
-#define DHISD_PID "/etc/dhis/pid/dhisd.pid"
|
|
-#define DHISD_DB "/etc/dhis/db/dhis.db"
|
|
-#define DHISD_LOG "/etc/dhis/log/dhisd.log"
|
|
-#define DHISD_SERVICES "/etc/dhis/db/services.db"
|
|
+#define DHISD_PID "/var/run/dhisd.pid"
|
|
+#define DHISD_DB "__PREFIX__/etc/dhis/dhis.db"
|
|
+#define DHISD_LOG "/var/log/dhisd.log"
|
|
+#define DHISD_SERVICES "__PREFIX__/etc/dhis/services.db"
|
|
|
|
#define MAX_HOSTNAME 64
|
|
#define MAX_PASS 16
|