aboutsummaryrefslogtreecommitdiff
path: root/mail/drac/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/drac/files/patch-Makefile')
-rw-r--r--mail/drac/files/patch-Makefile45
1 files changed, 0 insertions, 45 deletions
diff --git a/mail/drac/files/patch-Makefile b/mail/drac/files/patch-Makefile
deleted file mode 100644
index 6ca9088fb3dc..000000000000
--- a/mail/drac/files/patch-Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
---- Makefile.orig 2003-01-12 21:45:12.000000000 +0100
-+++ Makefile 2014-04-04 23:35:46.000000000 +0200
-@@ -5,9 +5,11 @@
-
- # Paths
-
--INSTALL = /usr/ucb/install
--EBIN = /usr/local/sbin
--MAN = /usr/local/man/man
-+INSTALL? = install
-+EBIN = ${PREFIX}/sbin
-+MAN = ${PREFIX}/man/man
-+ETC_DIR = ${PREFIX}/etc
-+DEFS = ${DEFS}
-
- # OS-Dependant settings
-
-@@ -33,22 +35,19 @@
- # -DCIDR_KEY # keys in CIDR format
- # -DTERM_KD # keys and data nul-terminated
-
--DEFS = -DTI_RPC -DFCNTL_LOCK -DSYSINFO
--
- # Compiler flags
--CC = cc
-+CC? = cc
- RANLIB = :
--CFLAGS = $(DEFS) -g -I/usr/local/src/db/db-4.1.25/build_unix
-+CFLAGS+= $(DEFS) -g -I${PREFIX}/include -DDBFILE=\"$(ETC_DIR)/dracd.db\" -DALFILE=\"$(ETC_DIR)/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 = -C -I
-
- # Man sections
- MANLIB = 3