diff options
author | oliver <oliver@FreeBSD.org> | 2003-07-09 16:46:53 +0000 |
---|---|---|
committer | oliver <oliver@FreeBSD.org> | 2003-07-09 16:46:53 +0000 |
commit | 41c02abcb3ce53034629ac88ca2b490d383256b8 (patch) | |
tree | 2c53f8c2f8aad78a0bdf6d2d6a29cedbd5b81ccf /mail/courier-imap/Makefile | |
parent | 5dadd94098f4e5fa9247914d34d56a73b77c8ce2 (diff) | |
download | FreeBSD-ports-41c02abcb3ce53034629ac88ca2b490d383256b8.zip FreeBSD-ports-41c02abcb3ce53034629ac88ca2b490d383256b8.tar.gz |
fix building on an nfs-share
force using fcntl locking method and disabling the locking test during
configure
Diffstat (limited to 'mail/courier-imap/Makefile')
-rw-r--r-- | mail/courier-imap/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile index fcf9dd8..be5c524 100644 --- a/mail/courier-imap/Makefile +++ b/mail/courier-imap/Makefile @@ -64,7 +64,8 @@ CONFIGURE_ARGS= --without-authshadow \ --libexecdir=${LIBEXECDIR} \ --enable-workarounds-for-imap-client-bugs \ --enable-unicode \ - --disable-root-check + --disable-root-check \ + --with-locking-method=fcntl .if !defined(WITH_VPOPMAIL) CONFIGURE_ARGS+= --without-authvchkpw @@ -157,9 +158,12 @@ EXTRA_DOCS= README INSTALL AUTHORS imap/ChangeLog .include <bsd.port.pre.mk> post-patch: - @${REINPLACE_CMD} -Ee \ - '/^ imapd.cnf pop3d.cnf/s/(imapd.cnf|pop3d.cnf)//g' \ + @${REINPLACE_CMD} -e 's/^ imapd.cnf pop3d.cnf //' \ ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's|^case x$$lockmethod in|${TEST} \&\& &|g' \ + ${WRKSRC}/liblock/configure + @${REINPLACE_CMD} -e 's|$$VPOPMAILLIBS|& -lcrypt|g' \ + ${WRKSRC}/authlib/configure post-install: ${INSTALL_PROGRAM} ${WRKSRC}/authlib/authtest ${PREFIX}/bin/ |