summaryrefslogtreecommitdiffstats
path: root/databases/courier-authlib-mysql
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2005-03-12 17:24:14 +0000
committeroliver <oliver@FreeBSD.org>2005-03-12 17:24:14 +0000
commitfc1ad45718458bfef627442f7ee4cfde18d53cad (patch)
tree190cf41221d37c50e0ef81086e0de17d6ecc2aa3 /databases/courier-authlib-mysql
parentb8d13e0d894d98cb68b72d3b19c83c6b0085a823 (diff)
downloadFreeBSD-ports-fc1ad45718458bfef627442f7ee4cfde18d53cad.zip
FreeBSD-ports-fc1ad45718458bfef627442f7ee4cfde18d53cad.tar.gz
fix building for cases where WRKDIR is a nfs mount
Diffstat (limited to 'databases/courier-authlib-mysql')
-rw-r--r--databases/courier-authlib-mysql/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/databases/courier-authlib-mysql/Makefile b/databases/courier-authlib-mysql/Makefile
index 836e955..09788f1 100644
--- a/databases/courier-authlib-mysql/Makefile
+++ b/databases/courier-authlib-mysql/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/=/%%!/} \
OpenPOWER on IntegriCloud