aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2005-03-13 01:24:14 +0800
committeroliver <oliver@FreeBSD.org>2005-03-13 01:24:14 +0800
commitfc1ad45718458bfef627442f7ee4cfde18d53cad (patch)
tree190cf41221d37c50e0ef81086e0de17d6ecc2aa3 /security
parentb8d13e0d894d98cb68b72d3b19c83c6b0085a823 (diff)
downloadfreebsd-ports-gnome-fc1ad45718458bfef627442f7ee4cfde18d53cad.tar.gz
freebsd-ports-gnome-fc1ad45718458bfef627442f7ee4cfde18d53cad.tar.zst
freebsd-ports-gnome-fc1ad45718458bfef627442f7ee4cfde18d53cad.zip
fix building for cases where WRKDIR is a nfs mount
Diffstat (limited to 'security')
-rw-r--r--security/courier-authlib-base/Makefile5
-rw-r--r--security/courier-authlib/Makefile5
2 files changed, 10 insertions, 0 deletions
diff --git a/security/courier-authlib-base/Makefile b/security/courier-authlib-base/Makefile
index 836e9556543c..09788f1fb902 100644
--- a/security/courier-authlib-base/Makefile
+++ b/security/courier-authlib-base/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/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/=/%%!/} \