1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

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>
This commit is contained in:
Alexander Langer 2001-05-09 09:52:44 +00:00
parent 27b48095bf
commit ca9e2800d7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42447
2 changed files with 9 additions and 1 deletions

View File

@ -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>

View File

@ -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>