diff options
author | alex <alex@FreeBSD.org> | 2001-05-09 17:52:44 +0800 |
---|---|---|
committer | alex <alex@FreeBSD.org> | 2001-05-09 17:52:44 +0800 |
commit | a44976ee979728df6a77658b2c3bf58ec698c190 (patch) | |
tree | aa5b33cc373074f2688335d90d141d424306b0f7 /mail | |
parent | f961ecb1f0790aa0923ed9e5e1c77e90f01c186d (diff) | |
download | freebsd-ports-gnome-a44976ee979728df6a77658b2c3bf58ec698c190.tar.gz freebsd-ports-gnome-a44976ee979728df6a77658b2c3bf58ec698c190.tar.zst freebsd-ports-gnome-a44976ee979728df6a77658b2c3bf58ec698c190.zip |
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>
Diffstat (limited to 'mail')
-rw-r--r-- | mail/drac/Makefile | 8 | ||||
-rw-r--r-- | mail/drac/pkg-descr | 2 |
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> |