aboutsummaryrefslogtreecommitdiff
path: root/mail/drac/files
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2014-04-04 21:39:08 +0000
committerRene Ladan <rene@FreeBSD.org>2014-04-04 21:39:08 +0000
commit022af18c372a8b51eaf8e92b90f09b184fa3053d (patch)
tree84bdebca4457d0a1b02b55acfc8c457a0c9e953b /mail/drac/files
parent6f0ddd3c6bb500b67d2c8aa5356135be62698ced (diff)
downloadports-022af18c372a8b51eaf8e92b90f09b184fa3053d.tar.gz
ports-022af18c372a8b51eaf8e92b90f09b184fa3053d.zip
- Add stage support
- Reorganize option support PR: ports/187438 Submitted by: Takefu <takefu@airport.fm>
Notes
Notes: svn path=/head/; revision=350171
Diffstat (limited to 'mail/drac/files')
-rw-r--r--mail/drac/files/dracd.in2
-rw-r--r--mail/drac/files/patch-aa37
2 files changed, 7 insertions, 32 deletions
diff --git a/mail/drac/files/dracd.in b/mail/drac/files/dracd.in
index 83054f707369..5d95021135b3 100644
--- a/mail/drac/files/dracd.in
+++ b/mail/drac/files/dracd.in
@@ -10,7 +10,7 @@
# dracd_enable (bool): Set it to "YES" to enable rpc.dracd.
# Default is "NO".
# dracd_flags (str): Set to "" by default.
-# Extra flags passed to rpc.dracd.
+# Extra flags passed to rpc.dracd.
#
. /etc/rc.subr
diff --git a/mail/drac/files/patch-aa b/mail/drac/files/patch-aa
index 048e2f9c96fc..6ca9088fb3dc 100644
--- a/mail/drac/files/patch-aa
+++ b/mail/drac/files/patch-aa
@@ -1,6 +1,6 @@
---- Makefile.orig Mon Jan 13 05:45:12 2003
-+++ Makefile Wed Mar 1 10:27:04 2006
-@@ -5,9 +5,10 @@
+--- Makefile.orig 2003-01-12 21:45:12.000000000 +0100
++++ Makefile 2014-04-04 23:35:46.000000000 +0200
+@@ -5,9 +5,11 @@
# Paths
@@ -11,31 +11,16 @@
+EBIN = ${PREFIX}/sbin
+MAN = ${PREFIX}/man/man
+ETC_DIR = ${PREFIX}/etc
++DEFS = ${DEFS}
# OS-Dependant settings
-@@ -33,22 +34,46 @@
+@@ -33,22 +35,19 @@
# -DCIDR_KEY # keys in CIDR format
# -DTERM_KD # keys and data nul-terminated
-DEFS = -DTI_RPC -DFCNTL_LOCK -DSYSINFO
-+.if defined(WITH_TI_RPC)
-+DEFS+= -DTI_RPC
-+.else
-+DEFS+= -DSOCK_RPC
-+.endif
-+
-+.if defined(WITH_POSTFIX) || defined(WITH_POSTFIX_DB3) || defined(WITH_POSTFIX_DB41)
-+DEFS+= -DFLOCK_LOCK -DGETHOST -DDASH_C -DTERM_KD
-+.elif defined(WITH_EXIM)
-+DEFS+= -DFLOCK_LOCK -DGETHOST -DDASH_C -DTERM_KD -DREQ_HASH -DCIDR_KEY
-+.else
-+DEFS+= -DFLOCK_LOCK -DGETHOST -DDASH_C
-+.endif
-+.if defined(WITH_FOREGROUND)
-+DEFS+= -DRPC_SVC_FG
-+.endif
-
+-
# Compiler flags
-CC = cc
+CC? = cc
@@ -54,17 +39,7 @@
-RPCGENFLAGS =
-#RPCGENFLAGS = -C
+TSTLIBS = -L. -ldrac
-+#RPCGENFLAGS =
+RPCGENFLAGS = -C -I
-+
-+.if defined(WITH_POSTFIX_DB3)
-+CFLAGS+= -I${LOCALBASE}/include/db3
-+LDLIBS+= -L${LOCALBASE}/lib -ldb3
-+.endif
-+.if defined(WITH_POSTFIX_DB41)
-+CFLAGS+= -I${LOCALBASE}/include/db41
-+LDLIBS+= -L${LOCALBASE}/lib -ldb41
-+.endif
# Man sections
MANLIB = 3