summaryrefslogtreecommitdiff
path: root/databases/courier-authlib-usergdbm
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 /databases/courier-authlib-usergdbm
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 'databases/courier-authlib-usergdbm')
-rw-r--r--databases/courier-authlib-usergdbm/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/databases/courier-authlib-usergdbm/Makefile b/databases/courier-authlib-usergdbm/Makefile
index 836e9556543c..09788f1fb902 100644
--- a/databases/courier-authlib-usergdbm/Makefile
+++ b/databases/courier-authlib-usergdbm/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/=/%%!/} \