summaryrefslogtreecommitdiffstats
path: root/shells
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>2001-03-29 22:48:09 +0000
committermharo <mharo@FreeBSD.org>2001-03-29 22:48:09 +0000
commitcfec48411ff7decfcd6f1b69a7587d9fdceec4a7 (patch)
tree940a42e7a3ebd0c09b39e2d501f06ebb8b2d62fe /shells
parent367d9f12fecbe9b9ff8230482382fbb5c7c6ed37 (diff)
downloadFreeBSD-ports-cfec48411ff7decfcd6f1b69a7587d9fdceec4a7.zip
FreeBSD-ports-cfec48411ff7decfcd6f1b69a7587d9fdceec4a7.tar.gz
make WRKDIR safe (fix broken on bento)
Diffstat (limited to 'shells')
-rw-r--r--shells/wapsh/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/shells/wapsh/Makefile b/shells/wapsh/Makefile
index dcee040..12529c5 100644
--- a/shells/wapsh/Makefile
+++ b/shells/wapsh/Makefile
@@ -41,8 +41,8 @@ HTDOCS= command.php command_html.inc command_wml.inc \
shortcuts_wml.php
post-patch:
- @${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/htshd/htshd.c > foo && \
- ${MV} foo ${WRKSRC}/htshd/htshd.c
+ @${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/htshd/htshd.c > ${WRKDIR}/foo && \
+ ${MV} ${WRKDIR}/foo ${WRKSRC}/htshd/htshd.c
do-build:
(cd ${WRKSRC}/htshd && ${CC} ${CFLAGS} -o htshd htshd.c -lcrypt \
OpenPOWER on IntegriCloud