diff options
author | Neil Blakey-Milner <nbm@FreeBSD.org> | 2000-07-19 12:16:04 +0000 |
---|---|---|
committer | Neil Blakey-Milner <nbm@FreeBSD.org> | 2000-07-19 12:16:04 +0000 |
commit | 0fecb98b8cfe74eeaf1b3effda209696d51f6670 (patch) | |
tree | 3f237bd14363fb349d033741410b31faa193fec3 /mail | |
parent | Upgrade to version 1.4.2. (diff) |
Fix the build for the root case, and also for post 4.0-RELEASE case.
Submitted by: kris, bento
Notes
Notes:
svn path=/head/; revision=30849
Diffstat (limited to 'mail')
-rw-r--r-- | mail/courier-imap/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile index fafb59a7b08f..2ee990860416 100644 --- a/mail/courier-imap/Makefile +++ b/mail/courier-imap/Makefile @@ -29,4 +29,15 @@ MLINKS= authlib.8 authpwd.8 \ makeuserdb.8 pw2userdb.8 \ makeuserdb.8 vchkpw2userdb.8 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +post-patch: + @perl -i -pe s'@^if test -w confmdtest1$$@if test -z 0@' \ + ${WRKSRC}/configure +.if ${OSVERSION} >= 400016 + @perl -i -pe 's@^#include\s*<netinet6/in6.h>$$@@' \ + ${WRKSRC}/rfc1035/configure \ + ${WRKSRC}/rfc1035/rfc1035.h.in +.endif + +.include <bsd.port.post.mk> |