summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/unison232/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/unison232/Makefile b/net/unison232/Makefile
index 2cf5311ab098..f97b7bcc462f 100644
--- a/net/unison232/Makefile
+++ b/net/unison232/Makefile
@@ -66,7 +66,7 @@ post-patch:
${WRKSRC}/Makefile.OCaml
post-build:
- ( cd ${WRKSRC} && ./unison -selftest -ui text -batch )
+ d=$$(mktemp -d) && trap "rm -rf $$d" 0 && ( cd ${WRKSRC} && HOME=$$d ./unison -selftest -ui text -batch )
.if ${FLAVOR} == x11
@${ECHO} Building text-only version in ${WRKSRC}
${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${WRKSRC} CFLAGS="" UISTYLE=text NAME=${PORTNAME}-text