summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2005-03-12 17:24:14 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2005-03-12 17:24:14 +0000
commitf6b1bd9aff33431ec3fc46f7357e219237e5bc3a (patch)
treefb586b902df3555b39de71dd0a996dad8c550b70 /mail
parentSecond patch form the PR was missed (diff)
fix building for cases where WRKDIR is a nfs mount
Notes
Notes: svn path=/head/; revision=131029
Diffstat (limited to 'mail')
-rw-r--r--mail/courier-authlib-vchkpw/Makefile5
-rw-r--r--mail/courier-authlib/Makefile5
2 files changed, 10 insertions, 0 deletions
diff --git a/mail/courier-authlib-vchkpw/Makefile b/mail/courier-authlib-vchkpw/Makefile
index 836e9556543c..09788f1fb902 100644
--- a/mail/courier-authlib-vchkpw/Makefile
+++ b/mail/courier-authlib-vchkpw/Makefile
@@ -147,6 +147,11 @@ post-patch:
${WRKSRC}/userdb/Makefile.in
@${REINPLACE_CMD} -e 's|DEFAULTOPTIONS=""|DEFAULTOPTIONS="wbnodsn=1"|' \
${WRKSRC}/authdaemonrc.in
+ @${REINPLACE_CMD} -e 's|conftest.lock|/tmp/courier-authlib.locktest|g' \
+ ${WRKSRC}/liblock/locktest.c
+
+post-configure:
+ @${RM} -f /tmp/courier-authlib.locktest
post-install:
${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
diff --git a/mail/courier-authlib/Makefile b/mail/courier-authlib/Makefile
index 836e9556543c..09788f1fb902 100644
--- a/mail/courier-authlib/Makefile
+++ b/mail/courier-authlib/Makefile
@@ -147,6 +147,11 @@ post-patch:
${WRKSRC}/userdb/Makefile.in
@${REINPLACE_CMD} -e 's|DEFAULTOPTIONS=""|DEFAULTOPTIONS="wbnodsn=1"|' \
${WRKSRC}/authdaemonrc.in
+ @${REINPLACE_CMD} -e 's|conftest.lock|/tmp/courier-authlib.locktest|g' \
+ ${WRKSRC}/liblock/locktest.c
+
+post-configure:
+ @${RM} -f /tmp/courier-authlib.locktest
post-install:
${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \