summaryrefslogtreecommitdiff
path: root/security/courier-authlib
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 /security/courier-authlib
parentSecond patch form the PR was missed (diff)
fix building for cases where WRKDIR is a nfs mount
Diffstat (limited to 'security/courier-authlib')
-rw-r--r--security/courier-authlib/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/security/courier-authlib/Makefile b/security/courier-authlib/Makefile
index 836e9556543c..09788f1fb902 100644
--- a/security/courier-authlib/Makefile
+++ b/security/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/=/%%!/} \