summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorAlexander Langer <alex@FreeBSD.org>2001-05-09 09:52:44 +0000
committerAlexander Langer <alex@FreeBSD.org>2001-05-09 09:52:44 +0000
commitca9e2800d7a53dfb5fe21f23078877537b738577 (patch)
tree0c0595294a6c44290023ee6e5d4fed77f721e33e /mail
parentUpdate to version 3.03. (diff)
Add -b option to rpcgen calls to make this work on -CURRENT.
Add Name of Maintainer to pkg-descr. PR: 26545 Submitted by: Anders Nordby <anders@fix.no>
Notes
Notes: svn path=/head/; revision=42447
Diffstat (limited to 'mail')
-rw-r--r--mail/drac/Makefile8
-rw-r--r--mail/drac/pkg-descr2
2 files changed, 9 insertions, 1 deletions
diff --git a/mail/drac/Makefile b/mail/drac/Makefile
index cd4398ab7274..3356cc1b6265 100644
--- a/mail/drac/Makefile
+++ b/mail/drac/Makefile
@@ -21,8 +21,14 @@ NO_WRKSUBDIR= yes
MAN3= dracauth.3
MAN1= rpc.dracd.1
+.include <bsd.port.pre.mk>
+
post-patch:
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/rpc.dracd.1m
+.if ${OSVERSION} >= 500018
+ @${PERL} -pi -e "s|^RPCGENFLAGS.*|RPCGENFLAGS = -C -b|g" \
+ ${WRKSRC}/Makefile
+.endif
@${ECHO} "================================================================================"
@${ECHO} "Use make -DWITH_POSTFIX or -DWITH_EXIM with this port for databases compatible"
@${ECHO} "with those MTAs."
@@ -37,4 +43,4 @@ do-install:
@${INSTALL_MAN} ${WRKSRC}/rpc.dracd.1m ${PREFIX}/man/man1/rpc.dracd.1
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/mail/drac/pkg-descr b/mail/drac/pkg-descr
index 0548afa4897a..9145a897684c 100644
--- a/mail/drac/pkg-descr
+++ b/mail/drac/pkg-descr
@@ -9,3 +9,5 @@ this. The POP and SMTP servers can be on a POP server is sufficient to do this.
The POP and SMTP servers can be on different hosts.
WWW: http://mail.cc.umanitoba.ca/drac/
+
+- Anders Nordby <anders@fix.no>