aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authornbm <nbm@FreeBSD.org>2000-07-19 20:16:04 +0800
committernbm <nbm@FreeBSD.org>2000-07-19 20:16:04 +0800
commitf1def808b5ac80d8678e2985f9274c4f92abf8a5 (patch)
tree3cc15b5ee9e7afa64e98e7f2519142899f9dbc07 /mail
parentd9db53cca296a73cb02d6d4408ec0735dc49de88 (diff)
downloadfreebsd-ports-gnome-f1def808b5ac80d8678e2985f9274c4f92abf8a5.tar.gz
freebsd-ports-gnome-f1def808b5ac80d8678e2985f9274c4f92abf8a5.tar.zst
freebsd-ports-gnome-f1def808b5ac80d8678e2985f9274c4f92abf8a5.zip
Fix the build for the root case, and also for post 4.0-RELEASE case.
Submitted by: kris, bento
Diffstat (limited to 'mail')
-rw-r--r--mail/courier-imap/Makefile13
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>