openbsd-ports/mail/drac/patches/patch-Makefile

43 lines
1.2 KiB
Plaintext
Raw Normal View History

--- Makefile.orig Sun Jan 12 21:45:12 2003
+++ Makefile Thu Jan 27 21:43:16 2005
@@ -5,7 +5,7 @@
# Paths
-INSTALL = /usr/ucb/install
+INSTALL = install
EBIN = /usr/local/sbin
MAN = /usr/local/man/man
@@ -33,22 +33,22 @@ MAN = /usr/local/man/man
# -DCIDR_KEY # keys in CIDR format
# -DTERM_KD # keys and data nul-terminated
-DEFS = -DTI_RPC -DFCNTL_LOCK -DSYSINFO
+DEFS = -DSOCK_RPC -DFCNTL_LOCK -DGETHOST -DDASH_C
# Compiler flags
-CC = cc
-RANLIB = :
-CFLAGS = $(DEFS) -g -I/usr/local/src/db/db-4.1.25/build_unix
+#CC = cc
+RANLIB = ranlib
+CFLAGS += $(DEFS) -DDBFILE=\"$(SYSCONFDIR)/mail/dracd.db\" -DALFILE=\"$(SYSCONFDIR)/mail/dracd.allow\"
#CFLAGS = $(DEFS) -g -I/usr/local/src/db/db-3.1.17/build_unix
#CFLAGS = $(DEFS) -g -I/usr/local/src/db/db-2.4.14/Unix
#CFLAGS = $(DEFS) -g -I/usr/local/src/db/db.1.85/PORT/sunos.5.2/include
-LDLIBS = -L/usr/local/src/db/db-4.1.25/build_unix -lnsl -ldb-4.1
+LDLIBS =
#LDLIBS = -L/usr/local/src/db/db-3.1.17/build_unix -lnsl -ldb
#LDLIBS = -L/usr/local/src/db/db-2.4.14/Unix -lnsl -ldb
#LDLIBS = -L/usr/local/src/db/db.1.85/PORT/sunos.5.2 -lnsl -ldb
-TSTLIBS = -L. -ldrac -lnsl
-RPCGENFLAGS =
-#RPCGENFLAGS = -C
+TSTLIBS = -L. -ldrac
+#RPCGENFLAGS =
+RPCGENFLAGS = -C
# Man sections
MANLIB = 3