aboutsummaryrefslogtreecommitdiff
path: root/mail/courier-authlib-vchkpw
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/courier-authlib-vchkpw
parent0786e76dd7cc2bc72a663fa55861bdc542a340e5 (diff)
downloadports-f6b1bd9aff33431ec3fc46f7357e219237e5bc3a.tar.gz
ports-f6b1bd9aff33431ec3fc46f7357e219237e5bc3a.zip
fix building for cases where WRKDIR is a nfs mount
Notes
Notes: svn path=/head/; revision=131029
Diffstat (limited to 'mail/courier-authlib-vchkpw')
-rw-r--r--mail/courier-authlib-vchkpw/Makefile5
1 files changed, 5 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/=/%%!/} \